My girlfriend has a cold sore and barley touched my

Patient: My girlfriend has a cold sore and barley touched my genatal skin with it but I imeadietly rubed hand sanitizer on it then washed it off with soap would I be ok?

Doctor: