Pain during sex, like hes hitting something

Whitney • Mother of 2👱‍♀️👱‍♀️ &1👶
Pretty often when my husband and I have sex it's like a sharp pain and feels like hes hitting something. But there are other times where the is no pain. What is causing this! Iv been dealing eith this for years and DRs can't seem to fond anything wrong.