Blood tests can find signs that the liver is being damaged. If people have those signs, treatment for hepatitis B can prevent the liver damage caused by the virus. Antiviral medications are given, which prevent the virus from making copies of itself. However, once the virus is in the liver, it is not possible to get rid of the virus completely.