The doctor has prescribed pills

A: All praise be to Allah Alone, and peace and blessings be upon His Messenger, and his family and Companions. If the blood that comes out after taking these two tablets is the menstrual blood that is distinguishable and known to women, then it is menstruation that obliges women to stop observing Salah and Sawm. Otherwise, it is not considered to be menstrual blood that prohibits Sawm, Salah, or conjugal intercourse. This is because this blood comes out due to taking these tablets. (Part No. 5; Page No. 403) May Allah grant us success. May peace and blessings be upon our Prophet Muhammad, his family, and Companions.