Missed period..

I missed my period. Well on the calendar it says tomorrow is my last day.. And I had un safe sex on a 22%  ovulation day last month. My boyfriend pulled out tho so he is confidant I am not pregnant but he is still nervous as well..I how soon can I take a test?