When to take a pregnancy test

So before I start ovulating my period was late and then me and my boyfriend had unprotected sex Saturday and Sunday and I was ovulating he came in me and we'll trying to get pregnant I'm cramping really bad and I'm having white discharge and my head hurts I've been getting nauseous but without even eating anything kind of all I want to do is sleep now but I don't know when the test since I was already late