A menstruating woman asks if she can fast and take something to prevent menstruation. If menstruation starts, she does not fast and the preventive does not help.
She must wait until her period ends and the bleeding stops, but as for taking
the preventive before menstruation starts, there is nothing wrong with that if it does not harm her health. Yes.