Gallstones are a kind of crystals that form in the gallbladder. They can be very painful but usually do not cause any serious illness. The pain sits under the ribs on the right side and usually comes in turns. Many people who have gallstones have no problems at all.
Bacterial inflammation is uncommon, but if you do, you may need treatment quickly. Usually you are treated with antibiotics.