Your risk is extremely low--take a DUO test now,if it's negative-let it go.
I agree 100% with what joggen said.
No it slipped off before inserting and I immediately realized and with drew in few seconds
was the condom hanging out of her?
First, the chance of a woman that you describe having HIV is close to zero (however, obviously nobody online can guarantee that she isn't infected). But even if she had HIV, the brevity of exposure would reduce your risk significantly. HIV isn't transmitted very efficiently in the first place for a normal episode of sex, and you were exposed for only a few seconds. Your chances of catching HIV from this are vanishingly small.
Yes, you should test, but you should also expect a negative result- the odds are overwhelmingly in your favor. Test for HIV at 3 months post-exposure for a conclusive result. This is really not something that you should be concerned about.