Especially while losing weight, these medications can increase the risk of gallstones (cholelithiasis) and gallbladder infection (cholecystitis). If you are having discomfort in the upper right abdomen, it is recommended you seek immediate medical attention.