What is this a sign of??

Im on cycle day 34. The past few days i have been feeling unwell, headaches, feeling sick, and weak. Today im getting a brown discharge and stomach cramps. I have irregular periods so havent took a test yet. Is this just a sign of AF on its way?