How do you get hepatitis A?

Following the deaths of two people from hepatitis A in Martin County, many are asking how to prevent catching the virus.