The cure for a tight foreskin is stretching. Get erect, and roll the skin back as far as it will go (without hurting) with your thumb and index finger. Now, you either hold it there for ten seconds at a time or move it back and forth. Do this exercise for at least 10 mins (half an hour would be ideal) each day or each time when you masturbate and in a few months you'll have a looser, more manageable foreskin.
The other technique is to get two fingers inside the foreskin and move it around, stretch it from the inside. This can be difficult and I would suggest lube. This can be done (I think) in the hard and flaccid states but is easier when flaccid. This is also supposedly the best method of stretching.
Failing that or if those methods don't work (sounds like you have a really tight foreskin) there is an in-office procedure I think called a frenoctopy or something (Fren--) where the doctor makes three small incisions in the frenulum that releases the foreskin from its fleshy chains (the strands of frenulum hehe). This is painless (I hear, have no first hand experience) and is so much easier and painless than circumcision which is the next step but most doctors seem to jump to the extreme step of circumcision.
Anyway I would go to the doctor and ask him what's the best thing to do. You may need the surgery or simple stretching may work. Also there are stories of men's frenulums ripping clean off during sex (without a condom, condoms seem to be a looser fit). This happened to a mate of mine when a girl was giving him head. It bleeds like a mofo and doesn't tickle. Anyway see the urologist but there are your choices. I had a tight foreskin once and although it doesnt retract fully when hard, I can pull it back easily, as seen in my pics
Stretching was all that I needed.