Always talk to your doctor about which medicines to take.
One of your liver’s jobs is to process medicines and make sure you do not get too much of them. While you have hepatitis A, your liver might not be able to do this as well as normal. So, you might need to avoid some common over the counter medicines until you are better. Or take a lower dose than you normally would.
In rare cases hepatitis A can cause more serious damage to your liver. Your risk is higher if you already have a long term (chronic) liver condition.
Your liver is amazingly resilient. But it can only take so much. If it is already struggling, then having to deal with hepatitis A as well can be too much. When this happens, your liver can stop working. You will need to be treated in hospital. Possibly in an intensive care unit. If the damage is long lasting, then a liver transplant could be the only way to cure the problem.