Years ago I discovered if I take two Ibuprofin and soak in a hot bath at the first sign of a cold (sore throat and/or stuffy nose), I can almost always nip it in the bud before it turns into a full cold. Eating spicy foods when the cold first comes on seems to help also (makes the nose run), but these days I can't tolerate spicy foods like I used to. Of course, sometimes you get the cold anyway, nothing you can do but rest, drink fluids, and wait it out.
You can greatly minimize the chances of getting a cold by washing your hands often. I always wash my hands when I get home from town. There's lots of germs out there.
My wife uses hand sanitizers often, but I hate that stuff and in my experience it doesn't seem to work any better than washing your hands.
Another tip is to learn to wipe your eyes and nose with the back of your hand or fingers, as the contact surfaces are where you're most likely to pick up the cold viruses.
It would help if people would stay home when they are sick, but our culture seems to place work responsibility above personal care. So coworkers show up at work coughing and sniffling and spreading their cold virus all over the workplace. My wife has a gazillion sick leave hours but I can never convince her to stay home when she's sick.
Hope you feel better soon...