You need to get tested for TSH,
Free T3 and
Free T4; you should also get tested for thyroid antibodies, TPOab and TGab to determine if you have an autoimmune thyroid disease, called Hashimoto's Thyroiditis.
You should also get tested for insulin resistance, since insulin is considered a "fat storage" hormone and if your body doesn't use insulin properly, you'll gain weight.