Thanks for the query.
Small abrasions can occur during intercourse. There is possibility that they might have got infected and giving you the pain.
So you better consult gynecologist and get examined.
and anti-fungal cream along with analgesic
effect can give relief to you.
Taking sitz bath can give symptomatic relief.