Is sex still safe?

Ok so I'm 25 weeks and my hubby and I haven't had sex in over a month because I'm scared I'll hurt the baby idk why I just got that feeling we were fine before. So is it safe? Is there going to be little pain after? What should I do? I really miss having sex