The hepatitis B vaccine is typically given in a series of three or four doses over a six-month period. The most common schedule for infants is a birth dose followed by additional doses at 1-2 months and 6-18 months. For adults, the vaccine can be given on a 0, 1, and 6-month schedule.