If your doctor thinks you might have gallstones, you will likely have further testing—most likely imaging, like an ultrasound or computerized tomography (CT) scan. This is to confirm their suspicions and to potentially help rule out any other conditions that could instead be at play.
Source: Verywell Health