You are describing a tear of the frenulum. They can be quite painful. You can have the fremulum divided surgically , have it tear repeatedly (apply an antibiotic ointment to the area after it rips), or go for a circumcision.
S.A.Liroff, M.D.
This information is provided for general medical educational purposes only. It
does not necessarily reflect the opinions of Henry Ford Hospital or the
Vattikuti Urologic Institute. Please consult your physician for diagnostic
and treatment options pertaining to your specific medical condition.
http://www.male-initiation.net/library/gallery/frenuloplasty/frenulum_tying.html