A cold is caused by germs - not bacteria.
Antibacterial soaps have no effect on preventing colds, but alcohol-based hand sanitisers do. Make sure you spend around 30 seconds fully washing the front and back of your hands, taking care to wash between your fingers too.