The head of my penis has a shooting pain when I touch it but it doesn't hurt if my foreskin is covering it?

You may have.... A condition called balanitis, which is an inflammation of the glans, or head, of the penis. It can be caused by bacterial infection, fungus, or chemical irritation to products such as laundry detergent, soap, or spermicidal lubricants found in condoms. I would advise you to see your physician for an examination.
See derm. See a dermatologist to make sure there is nothing else wrong.