Sharp twinge

Kaisha
I am getting a sharp painful twinge ( best way to describe it) It's inconsistent and sneaks up on me.  It is in my back right side by the bittkm of the rib cage. Could this be gastrointestinal or something else?