Gallstones form in the gallbladder when substances in bile harden. They can block the normal flow of bile if they lodge in ducts that carry bile from the liver to the small intestine. This can cause nausea, vomiting and pain in the abdomen, back or just under the right arm.