Did I take Clomid wrong?

I took Clomid 5 days after my period because that’s what I was told to do. Now I’m reading online 5th day of cycle so does that mean the 5th day of my period?. Idk I’m confused and now worried.