is very much less risky than anal/ vaginal sex. However, it can be transmitted if your partner is already HIV positive.
To clear your doubts, you can undergo one HIV test
and you may repeat the test after 3 months for confirmation.
Practice safe sex
in future. Good luck.