When do i do a pregnancy test

Eve
Me and my boyfriend have had unsafe sex like 4 times now through the last 2 weeks and my next period come until the 11th of next month when do I do a pt