How long did it take you to lose your pregnancy weight?

(If you gained weight!!) I’m 31 weeks. I guess I’ve gained 40 ish pounds 😫. I had a miscarriage last March & then got pregnant again in June & I’m now currently due this March. Definitely bitter sweet. I’ve been pregnant all year 😂 I’m ready to get back to my bodyyyyy!! If you gained weight during your pregnancy, how long did it take you to bounce back? If ever lol.