To prevent muscle loss, incorporate strength training into your routine. Exercise can help preserve muscle mass even during periods of calorie restriction or fasting.
Sea
Generally it makes no difference in your exercise routine. But if you are doing one of the more extreme forms of IF your performance might suffer during a fast, so you may have to work around that.