Getting healthy durning ivf

So within the past year I have gained 40 lbs I am weighing at 181 due to a medication side effects. This is my first cycle of <a href="https://glowing.com/glow-fertility-program">IVF</a> I will start taking the birth control Friday I am wanting to lose weight during this process does anyone have any advice? And when and if I should refrain from caffeine