Can i ask my primary doctor about weight loss pills?

I need a little boost on losing weight .. i dont want to get on the ozempic shot cuz i heard stories. I want to see if theres another method, another safe medication for me to take?? Can i ask my docotor??im trying lose 40-50 pounds