The types of warts that affect your hands won't affect your penis. HPV, the virus that causes warts, has over 100 different strains, and some affect your feet, or your hands, or your genitals.
You can have different strains at the same time, though - it's pretty common. You could have a wart on your hand and a genital wart. Is there a reason you haven't seen the doctor?
Bumps can be so many different things that you need to see a doctor to know what it is. No one can tell you online what it is - only a doctor who examines you can.