How soon can I take a pregnancy test ?

I’m 11pp and I still haven’t gotten my period but I read online you can still ovulate me and my husband had unprotected sex and he finished in me how soon can I take a pregnancy test ?