Weight gain is a common symptom of uncontrolled
sugar levels. No need to panic but you must consult a specialist (Diabetologist/Endocrinologist) in your city for immediate as well long term management. Along with medications, you will need good guidance on lifestyle modifications and a comprehensive overview of other chronic disease parameters.
Next Steps
Consult a Diabetologist/Endocrinologist/General Physician.