Quick sharp pains in abdomen

.

It feels like a lightening bolt and lasts about 2 seconds and goes away for a couple hours - weeks. Once it does happen it does it a few more times the next day or 2 and goes away. Any idea?

I’m not pregnant