Pregnancy test

My boyfriend came in me like two days ago, how soon can I take a test