What is considered cycle day 1?

I am doing fertility testing this month to figure out why I am having recurrent miscarriages. I have been having brown spotting today, is this considered cycle day 1 or so I need to wait until red blood?