Sex at 24 weeks

So me and my husband had sex last night for the first time in MONTHS, and it HURT. With all the hormones it’s drying me up. I just haven’t wanted sex and when i do he’s always at work or there’s always people over at our house. So i’m needing to know what to do? The pains like burning and stretching. It’s not inside my vagina, it’s around the hole. Ive looked things up on google but of course it gives you the worst possible thing, like an infection or something. Which i know i don’t have a yeast infection or anything.