Dermatofibromas do not go away by themselves. However, treatment is usually not necessary. It may be done if they are causing you some discomfort (itching or pain) or you feel they are unattractive. They do not pose any risk to your health.
Talk with your doctor about the best plan for you. Treatment options include the following:
The dermatofibroma may be cut off surgically. This can be done with local anesthesia.
Keep in mind that the dermatofibroma is usually deep. The removal will always leave a scar. The scar may not be any more attractive than the dermatofibroma itself.
Liquid nitrogen can be used to freeze the bump and flatten it out. This method usually leaves a white mark behind. Also, the dermatofibroma may eventually grow back.