The invention relates to composite antigens comprising a peptide with contiguous amino acid sequence derived from a plurality of antigenic epitopes of one or more pathogens that induces an immune response in a mammal that is protective against infection by the one or more pathogens. In addition, the invention relates to vaccines comprising composite antigens and to method for treating and preventing an infection.