Hep A and B immunizations are fairly routine in North America and Western Europe.
In Canada Hep B immunization is routine in all children in Grade 7 (2 needles at that age).
Although the risk is low for most people, my feeling is why not get them. If you are travelling for a month in Spain...