People infected with pneumonic plague must be given antibiotics within 24 hours of first showing symptoms , while people who have had direct contact with those infected can protect themselves by taking antibiotics for seven days , according to the Web site of the U.S. Centers for Disease Control .