It is a condition of Phemosis. From your complaints, it appears to be a severe constriction at the foreskin. Depending upon the degree of constriction at foreskin, the management can be decided. A detailed information regarding the difficulties you are having is needed. Also if you can share a snap through practo direct consultation, I'll be in a better position to advice you.
Next Steps
You can consult with a sexologist for more information. Best would be to show yourself to a general surgeon.
Health Tips
It is completely curable. Do not worry.