Help!New and had a question?

Me and my husband tried to have sex tonight and he kept saying that something was hurting so than I got on top to see if anything help. And it didn’t it was hurting him so bad he made me stop.. he said that it felt my legs were close which obviously they weren’t and that it felt like something was hitting is thing and it was sharp and we just had sex 2 days ago with no problem.. I’ve been cramping a lot and I have bad endometriosis.. we’re TTC and we’ve only had sex 1 times in my ovulation window 🤷‍♀️ any thoughts or opinions??