ttc irregular af

I've been ttc for over a year. My cycles are very irregular last month they were 40 days. Last Thursday was day 30 and I had a sharp pain in my lower stomach then twenty minutes later was light bleeding passednit off as my period. Light bleeding for two days then gone. Ever since I've had headache everyday to the point I can't concentrate, frequent peeing, dia., and nausea... am i going crazy???