it has been quoted that a one time exposure with someone who is hiv positive is around 1 in 2,000. with that being said...IT CAN HAPPEN on the first time.
a test at 6-8 weeks post exposure will give you a good indication of your status, but follow up at 3 months for a conclusive result.