Discharge or period?

Kristina • Mother of one beautiful girl
April 20th and 21st I had a brown discharge the the 22nd to the 27th I had my period. My question is do I count the discharge as the first day or my period? We are TTC and I can't figure out my ovulation without knowing what date to put in. TIA