Take a test if you miss your period or are late. They aren't going to be accurate till about then.
Where in your cycle were you when you had sex. If it was in the middle then there is a higher chance of pregnancy.
you can just wait till it is time for your next period. if your period doesn't come then do a pregnancy test.
when should i take a test as it has only been 2 days
if you have unprotected sex even if he pulls out you can get pregnant. that means yes. you need to be more careful, think about your future babies and what is the best for them, that may make it easier to make good decisions about your sex life.