Hepatitis B is an inflammation of the liver caused by a virus. The virus is infected by sexual contact or if you come into contact with infected blood. Most people who get hepatitis B get completely healthy, but they can still infect others for months. Some have the disease throughout their lives. It is called chronic hepatitis B.