I have a bumps on my fingers. They don't itch but they hurt. What is it and how do I treat it?

Definitely see derm. these bumps can be many things. A dermatologist will be able to biopsy and determine the cause.
Possibly eczema. Painful bumps in the skin of your fingers can be due to several causes. If it is of short duration and associated with other symptoms, it could represent a viral infection. More common, however, is a condition called dyshidrotic eczema. This results in painful little bumps that may resemble tiny water blisters. Your doctor can treat this for you.