BOTTOM LINE IS...
if you had unprotected sex with someone, who has hiv, you have put yourself at risk of contracting hiv and will need to be tested.
a duo test at 4 weeks or an antibody test at 6 weeks will give you a very good indication of your status but MUST BE followed up at 3 months post exposure to get that conclusive result.
having sex with someone who has hiv, does NOT mean automatic infection.
Wait 3 months and test for conclusive results. Unprotected sex is a high risk activity for HIV. Take care