To prevent muscle loss when doing cardio, it’s important that you don't do an extensive amount of cardio. It’s advised to do no more than 1,5-2 hours of cardio a week to preserve as much muscle as possible when losing fat.