Does it mean you have herpes if small bumps appeared on your lips?

Patient: If I shared the same cup with someone that used to have rashes around their mouth and after couple hours later I see rash on my lips does it mean that it’s herpes or cold sore? Is it possible to catch any diseases in couple of hours after using the cup with someone? I’m not to sure the person had herpes but the person used to have rashes on his lips.

Symptoms: Small bumps on the lips,but it doesn’t hurt or itches

Doctor: