HELP Missed pill twice now spotting and discharge

Ansleigh

Okay so its early Wednesday morning and ive noticed ive been spotting and having a certain amount of dark brown discharge the past few days. I just noticed i managed to miss my pill monday night and last night. I also had unprotected sex on monday night but he pulled out. Should i get a test or could my period just be thrown off from missing two pills?