should I test !!!??? could I be pregnant

Okay so i had my period on the 5th that lasted five days and then had unprotected sex on the 16th (fertile week), I had really light bloody discharge the next three days which I assumed was from rough sex. Then exactly three weeks later I had spotting for 2 and a bit days.