Pains during pregnancy

Donna
A little while ago I was just sitting on the couch and had an unusual feeling / pain in the right side of my stomach it felt almost as if I was being shocked by electricity it only lasted for about 30 seconds have any of you mommies felt this before or know what it might be