Is it safe to masturbate if you have a risk of preemie?

Feels good so do it. Am assuming that you are an expectant mother with risk of premature completeion of pregnancy. Masturbation should be safe unless you experience any uterine contractions when you achieve orgasm. Uterine contractions would be a contraindiaction. No problem if you aren't pregnant.