finally had sex but am i safe??

Jane
i just had sex today and im a virgin..my bf and i used condom and he still pulled out before he ejaculate. im quite scard because this is my first time nd i dont wanna get pregnant. am i safe? should i go see a doctor?