was inside her vagina however short the period was, you would need to get yourself checked at 3 months post-exposure to confirm your HIV status, and stick to an HIV antibody test though.
Why would you have unprotected sex and then the second time use protection,doesn,t make much sense does it.Anyway you require testing for hiv and other Std,s.If its worrying you take a test designed for earlier detection.All the best.
whether or not you ejaculated inside her or not...you still put yourself at risk for contracting hiv, IF she was indeed hiv positive.
you can test 6-8 weeks for a very good indication of your status, and at that point your result is unlikely to change at the 3 month mark when you get that conclusive result.