How can I instantly ease cramps?

I took 2 ibuprofen an hour ago and they didn’t do anything except make me feel like I’m going to throw up and I just want to ease them quickly as possible so I don’t vomit. Please help