If fasting harms you, or prevents you from carrying out duties that you must do, then it is permissible for you to break the fast, and in this case it is better to cross a daily 22 km from the borders of your city in the morning, break the fast, then return to your city, then make up these days after that