Birth control pills to gain weight?

My doctor suggested I try them to see if it helps with my hormones and helps me gain weight. I used to be at a perfect weight for my body before my only baby. But I'm now 10 months pp and I haven't gained anything and during my pregnancy didn't either. I lost 45 lbs only gained practically 10 my last two weeks of being pregnant and I haven't been able to gain weight. This is not normal for me because I had never experienced anything like it. So my question is do you girls gain weight with the pill? Which is what I have 2 weeks taking.

Edit: Thank you girls for your responses I appreciate it😊💕