Pains

During sex I won’t feel any pain but afterwards I’ll be sore. I’ll go toilet straight after to not get uti but idk why this pain always happens. I’m turned on during and wet so shouldn’t be friction. Been with my bf for over a year so it’s not a new partner. Any ideas what could be causing this and how to stop it?