Precum chances

touched a guys penis while he was wearing sweatpants and underwear. Then went home about 30 mins later and forgot to wash my hands before using the bathroom. Am I safe?