How many months should you stop having sex

Wannie
I'm 29 weeks and I don't really like it at all I feel we are hurting the baby but also trying to please him smfh