Kidney infection

I am currently 22 weeks pregnant with a kidney infection and kidney stones. Yes I’m on medication seem a doctor. Was in the hospital for 2 days being treated for it was released. What can I do for the pain besides Tylenol!?