If you are unable to fast and you can’t stop taking your medication during the morning, you are exempted from fasting.
If you can’t make up for these days during other times in the year and doctors say that his is permanent and you will never be able to fast, in this case, you have to feed one poor person per day.
You can do this after Ramadan is over by feeding 30 poor people.