Hello and welcome to HCM.
Thank you for your query.
Let me start off by saying that pain in relation to intercourse is normally called dyspareunia
. The pain that you are experiencing around the area of your bladder, might not necessarily be in relation to your bladder, and this could be due to any of the below mentioned causes:
and a few others.
I would request you to visit your doctor (preferably a gynecologist) and get thoroughly examined for all the above conditions and a few others. This could indeed be related to some underlying problem.
I hope I have succeeded in providing the information you were looking for. Please feel free to write back to me for any further clarifications. I would gladly help you.