Answered by Shaykh Hamza Karamali, SunniPath Academy Teacher
How if someone who is fasting during ramadan but has to take medication at certain time of the day. Does he/she has to break fast and make it up after ramadan, or he/she still has to fast?

In the Name of Allah, Most Merciful and Compassionate
assalamu ‘alaykum wa rahmatullah
If, by not taking the medication:
(1) you will get ill, or
(2) your existing illness will worsen, or
(3) it will take you longer to recover from your existing illness,
then it is permitted to take the medication during the day in Ramadan.
However, you will have to make up these fasts later on after Ramadan.
If none of the above three conditions are met, then it is not permitted for you to take the medication.
And Allah knows best.
Hamza.