If you have already been diagnosed with an eating disorder or mental illness such as depression, it’s important to speak with your doctor before beginning fasting. They can let you know if it's a good idea and give you advice about whether fasting is right for you and recommendations on how to do it.