If your gallstones are small or if, for some reason, you cannot have surgery, you may be able dissolve your gallstones with a medication called ursodiol (Actigall, Urso). It is a naturally occurring bile acid that dissolves cholesterol in bile. It may take several months before it has any effect on your gallstones.