Antibiotics kill the bacteria causing whooping cough and help speed recovery. Exposed family members may be given preventive antibiotics. Unfortunately, not much is available to relieve the cough. Over-the-counter cough medicines, for instance, have little effect on whooping cough and are discouraged.