Is my pill going to fail me

I take my pill perfectly every morning at 7 and I so far have not experience any throwing up or diarrhea that would affect it and I have not been taking antibiotics. However, my wait fluctuates right at the 180 mark. I’m currently trying to lose weight. But my doctor wouldn’t have prescribed me a pill that was less effective due to my weight, right?? Currently I’m weight about 175 and really trying to drop the weight