Certain medications slow down the hepatitis B virus and reduce potential liver damage. In rare cases, they may even get rid of the virus completely.