The baby is well protected inside the womb, and sexual activity is unlikely to cause any harm. No scientific evidence suggests that masturbation during pregnancy can harm the baby.