Hello. Some but not all psychiatric medications can increase the weight but they need to be continued for the illness.
Weight gain can also be a part of depression with less motivation to exercise, some patients with depression have increased appetite also.
It would be nice if you mentioned your weight, height and any other symptoms like reddish stretch marks on abdomen, bruises over skin, difficulty in getting up from sitting position. which can occur in other endocrinological disorders.
Next Steps
kindly provide details for dietary advice. Need to increase the physical activity.