For those who do not get rid of the virus after 6 months of infection, the virus may stay in the liver and blood for a lifetime. These people are diagnosed as having chronic hepatitis B.