Unless your doctor tells you to stop for another reason, the only time you need to stop is if your water breaks because that's what protects your baby from infections and stuff
You only have to stop if your waters goes but if not carry on till when ever you want