Hi!
This could be a condition known as vaginismus.
Vaginismus means fear of penetration. The body tightens up the muscles subconsciously because it doesn't want to suffer through the painful intercourse, which makes things worse.
This fear keeps on increasing with every painful intercourse.
Unfortunately, only medications do not help in this case.
It is important to go for sexual therapy.
Next Steps
book a consultation for detailed understanding and correct treatment.
Health Tips
this is something that requires time. do not rush into intercourse as it can cause more pain.