First of all I advise you get tested for thyroid
problem . Get Serum TSH test done .
For your flatulence
problem it could be because of Fat indigestion
Intolerance . I advise you stop taking fatty food and dairy food ( Milk , Curds , Butter , Cheese , Ghee )
You can use digestive medications like CAp Aristozyme 3 times a day before food for 2 weeks .
Get Serum TSH m LFT test done and revert back .