You had no risk, doesn't matter which hand you used or if you masturbated after removing the condom with the same hand without washing.
what if the other person was HIV +, than am i at any risk
If this person is not a sex worker, than your chances are very-very small. Next time, pull out the condom with your nondominant hand, and help yourself with the dominant hand.
Stay safe!