5w2d what can I take for cramps?

I am new to all of this and usually when I get cramps I take a few ibuprofen but I don't want to take anything that is harmful to the baby growing in there! 
Any advice? They aren't really painful, just annoying and they are intermittent .. Its just late and I want to be able to get some sleep.