what do I do to prevent lice?

So a coworker of mine has lice and I work directly with her. What are the chances that I have lice? I'm buying lice shampoo tonight and washing my hair with it so hard but what else can I do? What do I do if I have it like how do I treat it? Will I have to see a doctor?