Wth is my body doing

Brittany

I recently had a cycle for 17 days then nothing for 6 days and now AF is BACK. Could it be I started working out? I’m so confused. Anyone ever had this happen?