Hello and welcome to e health forum.
Your doctors might have prescribed Ursostan (Ursodeoxycholic acid), not to treat liver inflammation, but to reduce the serum bilirubin levels, that may be elevated due to the hepatitis.
This is a very common medication, that is prescribed for this specific purpose.
In case of any doubts, you may consult with your doctor, who can clear your doubts and explain the treatment process.