If it hurts when you have sex while having phimosis. you probably have either of these 4 things, phimosis, paraphimosis, yeast infection or sensitive glans.
Phimosis
A congenital narrowing of the opening of the foreskin so that it cannot be retracted.
Paraphimosis
Paraphimosis: Paraphimosis is a urologic emergency in which the retracted foreskin of an uncircumcised male cannot be returned to its normal anatomic position. It is important for clinicians to recognize this condition promptly, as it can result in gangrene and amputation of the glans penis.
Yeast Infection
If your skin tears too easily when trying to stretch foreskin this is the telltale sign of a yeast infection. It may not necessarily be yeast infection but it most probably is. Yeast infection makes the skin thin so that it tears.
Highly Sensitive Glans: Most probable reason why it hurts while having sex
This is mostly the case with people who have phimosis. It’s quite normal to feel pain while having sex in phimosis and this is due to the fact that your glans have always been covered under the sheath of foreskin. Anyway, you;re not alone and you can easily treat it.
Using phimosis rings is one of the best ways to cure this problem. You can however read this article about curing sensitive glans.