Cough’s and colds

Is it ok to take cough medicine while you are on chemotherapy