Tenofovir alafenamide (AF) (Vemlidy) is used to treat chronic (long term) HBV in adults and children 12 years of age and older who have stable liver disease. Tenofovir is in a class of medications called nucleoside reverse transcriptase inhibitors (NRTIs). It works by decreasing the amount of HIV and HBV in the blood.