The invention provides for treating HBV or HDV infection or inhibiting human sodium taurocholate co-transporting polypeptide (hNTCP) with a polymeric bile acid or salt thereof, and pharmaceutical compositions comprising a polymeric bile acid or salt thereof, and a second HBV or HDV medicament.