Intermittent fasting can help weight and sugar control, but with your medicines it needs care.
If your doctor approves it: start with a 12-hour gap (for example 8 pm to 8 am) before trying 14 or 16 hours. Drink water, and have plain tea or coffee without sugar. Break the fast with protein and vegetables, not sweets. Check your sugar if you feel shaky, sweaty or confused, and eat immediately if it is below 70 mg/dL.
Do not fast if you are pregnant, underweight, have kidney disease, or have a history of an eating disorder.