It hurts when I have sex

I’m 25 weeks pregnant and when me and my husband have sex it hurts.. I’ve noticed this since this month. Has this happened to anyone else? Is it normal?