Im late and started cramping and bleeding suddenly. i dont know what to do.

Patient: My period is 5 days late and I have a headache lower abdominal cramping and light bleeding. I have had a miscarriage before and I’m scared I’m going to have another one. I’m 19 years old. Should I take a pregnancy test.