An antibiotic is meant to work against bacterial infections. Since cold is a viral infection, there is no point in taking an antibiotic for it as it will have no effect on the virus.