These stones can move and block the cystic duct and cause severe pain. This pain is located mainly in the right side of the abdomen under the last rib. The pain can happen after you eat fatty foods.