We've expressed to you before what the risks are for HIV. They include having unprotected vaginal or anal sex or sharing IV drug needles. Air inactivates the virus. So, as long as the head of your penis is covered, it doesn't matter if the condom comes up some. The condom did not break. You had NO risk of HIV.