However, ursodeoxycholic acid 300 mg orally twice a day can help prevent stone formation in morbidly obese patients who are losing weight rapidly after bariatric surgery or while on a very low calorie diet.