Nervous to buy a test??

So i only had a 4 day period but normally it's 6 days. I've been a little nauseous and had some cramps and back pain. I don't know if I should take a test. I don't want to get my hopes up to high. What should I do?!?