Taking Vitamin C and increasing your Vitamin C intake can help shorten a cold virus and help it go away much faster.
Keeping up with Vitamin C Intake can also prevent cold viruses from infecting your body as well so you may not get the cold virus in the first place.
Wash your hands often and stay hydrated with water, orange juice, tea etc.
Avoid any drinks that contain caffeine and stay away from alcohol when you have a cold virus.
Getting plenty of rest and taking some over the counter cold and flu medicine can help with recovery from the flu and using a humidifier or taking a steamy hot shower can help to provide moisture to your lungs and help you get over the cold and flu.
Other than that there's not too much else you can do but wait it out and within a week you should be feeling better.