Painful sex first trimester

Hi lovelies. So me and my husband had sex last night for the first time since I found out I was pregnant. Just tried it with me on top and it really was quite uncomfortable and hurt even.

Today it’s continued to hurt and it’s like... inside? And I’ve been worrying today about losing baby. I know I sound daft perhaps but anyone else experienced this and been ok???