OK ladies somebody answer my question

Kristi
If you're on bed rest and your cervix length is 1 cm and you're on progesterone and your 31 weeks pregnant and your doctors telling you not to have sex do you think it'll be OK to masturbate if you do what will happen