No pregnancy wanted

kay
so my boyfriend came on my hand last night (accidentally) & I want to ya know.. have a little fun (alone). I washed my hands with soap but how long should I wait to make sure there is no leftover sperm on my hands to avoid pregnancy?