Pains when throwing up

Amya
Anyone else get sharp pains in their stomache when they are vomiting. Almost feels like a muscle spasm.