People with long term medical conditions, pregnant women etc don't have to fast.
If you have a condition that isn't long term but it requires you to take medication, you should do so, and make up the days you missed at a later date.
People with long term conditions who don't fast ''should'' fed a hungry/homeless person (with whatever money they have) for each day of Ramadan.
sources: islamqa, personal experiences
If you have a condition that isn't long term but it requires you to take medication, you should do so, and make up the days you missed at a later date.
People with long term conditions who don't fast ''should'' fed a hungry/homeless person (with whatever money they have) for each day of Ramadan.

sources: islamqa, personal experiences