Thanks for your query.Based on the facts that you have posted it appears that you have pain while retracting your foreskin over glans penis
This is due to what is called as Partial Phimosis
Normally foreskin gets retracted freely over glans penis and it acts as a sleeve over glans penis during forward and backward movements of the penis during intercourse after penetration in vagina
It may not be possible for you to have a enjoyable sex due to painful retraction of the foreskin.
Please consult qualified general Surgeon
for clinical examination you may need to get circumcised .
It will resolve the issue permanently and you will have safe ,enjoyable pain free sex.