It is generally safe to masturbate while waiting to give birth.