The previous answer is right about the main thing - tea isn't magic and won't replace proper nutrition and exercise. But there's a nuance: some teas really can help your liver a bit with toxin removal and improving bile flow. Green tea, milk thistle, artichoke - they contain substances that support liver function. The key thing is they don't cure anything, just provide some support alongside actual treatment.
Real talk: if you already have liver problems, consult a doctor first, because some herbal teas can be contraindicated depending on your specific diagnosis. Then combine tea with a calorie deficit, cutting back on refined carbs, and at least basic activity (walking, swimming). Drink the tea plain without additives and sugar, maybe two or three times a day.
The thing that actually matters is still boring: excess liver fat goes away through calorie deficit and regular exercise. Tea is a bonus, not the foundation.