First of all i hope that your dog was immunized and that you took proper immunization
as well against rabies
. The pain and bump that you have mentioned may be due to small blood clot formed at the area where the dog's teeth punctured your skin. These will go away in time, you may try soaking your hand in warm water two to three times a day to help it go away quickly.
If there is any redness
or if the pain keeps on increasing you need to visit your doctor to rule out infection.
Wishing you a speedy recovery.