When you lose weight some of it can be muscle. Two habits help protect it.
Protein
Most adults do better with a steady protein intake spread through the day. Your clinician can suggest a daily goal for you. You can set and track it in your account.
Strength training
Two or three sessions a week that work the major muscle groups is a common starting point. Start gently and build up. Check with your clinician first if you have a medical condition, an injury or you have been inactive for a long time.