Hello Friend, Good that you are seeking help here. All your symptoms are sign of anxiety and stress. Obviously, such emotional disturbance will also influence bodily condition like weight gain, sleeplessness, nervousness, digestion issue, PMS and many more. Look like your are experiencing some of them already.
In any mental illness treatment, medicine is just one part. You need to in parallel follow exercises, behavior therapies, dietary changes, few lifestyle changes etc to get complete cure. Sides effects of Medicine will also sometimes make the suitation worse.
So better relook at a holistic treatment plan covering all these aspects. Take a psychologists guidance in finding the suitation solution that are non medicine and alternative. I am also from IT field and also an ayurveda wellness coach and can guide you to handle such problems through alternative therapy.
Next Steps
Feel free to reach out to me online through Practo for further detailed evaluation and suitable solutions that you can follow to overcome this problem. Be confident. You will be alright soon.