Hypothyroidism???

I’ve been noticing these symptoms for some time now but starting to realize maybe it’s connected... first of all 2 January’s ago I weighed 126 last January 149 and now 153. The biggest issue has been my low sex drive, when me and my boyfriend first got together a little over 1 year ago I was always down, but now? Never. I’ve been starting to feel super down the past few months, my hair is thinning, and I’m just all over sluggish. My doctor mentioned to me today that since I was diagnosed with depression at a young age it’s a good idea to get tested for hypothyroidism... so now that I’m thinking about it? I’m going to be making a appointment with my OBGYN to see if maybe it’s my birth control and hopefully rule out hypothyroidism...