DPO question

AF I'd due 4/7 .. I've been cramping really bad for the last few days .Does that mean anything?? How do you know how many dpo you are ? I want to take a test but feel it's way to early ..