Practice good personal hygiene. Always wash your hands after changing diapers, when cleaning or after using the toilet, and before preparing or eating food. Avoid foods that could be contaminated, such as under-cooked shellfish or food that's been prepared by someone who has the virus. When traveling to developing countries, drink only bottled or boiled water, don't use ice, and don't eat raw fruits or vegetables unless they've been peeled. If you think you've been directly exposed to the hepatitis A virus, visit your health care provider immediately for treatment.
Some treatments can help ward off the infection if administered in time.
All people who have close household or sexual contact with an infected person also need treatment. Always wash your hands well after using the toilet. Don't prepare or handle food for others while you are infectious. Avoid sexual contact with other people until you are fully recovered. The hepatitis B virus infects people of all ages.