Spotting with clots

It was my first time using pills, good for 21 days. I had spotting with clots (lots of it too), I think it started around June 15th to June 21. Is it just the effect of the pills? Is it my period? This was the pill that I used. I'm worried because I had sex around the 5th day of using the pills. Please help, thank you