Test or?

Currently experiencing light cramps on my sides and abdomen and sometimes hips. Its an in uncomfortable feeling. My lower back sometimes hurts too. Earlier I felt nauseous but didn't throw up. And I slept all day, and have been eating a lot of sweets which I don't normally eat. Should I test? Or wait?