Has anyone experienced this?

I’m having sharp pains on my left side around my pelvic area. It’s really off and on . My period is two days late and I’m just having constant white discharge. Sometimes the pains shoot down my left leg. I’m also having headaches , no appetite, and back pain. Should I take a test ?