Weight and the pill

I posted earlier but didn’t eat any responses. I’m on the pill and I’ve read that being overweight can cause the pill to be less effective. I currently weigh right at 180 and I’m starting my weight loss journey. In high school and college I’ve always been super into athletics and working out but over the years I’ve just continued to gain weight. Is my pill less effective at this weight? Like should I worry. For the last four years my weight has fluctuated. I will lose 20 pounds then gain it back. What do you guys think?