Having sex while pregnant

So I’m about 30 weeks pregnant and y’all my husband and I can’t have sex without me being in intense pain. We’ve tried many different positions and nothing has helped. A few weeks ago everything was fine now I feel like my cervix are lower or something. My husband is being good about the situation it’s just difficult not being able to be intimate with your partner. Has anyone else had the same pains?