Consult your doctor if youre not well. Your symptoms have nothing to do with hiv.
I'm not a doctor, just a member who happen to spend a lot of time on hiv and its workings.. Protected sex is safe sex. No testing is required for this incident.
If you are sexually active, a periodical testing is in need, not only for hiv, but for all other STDs as well.
As long as the head of your penis was protected, you had no risk. Moving forward, hold on to the base of the condom while withdrawing to prevent slippage, unnecessary fear and anxiety.