Persistent back pain

So I had a UTI last week and I took medicine for it and I’m pretty sure it’s gone now but I’ve had almost constant lower back pain since Sunday night. It still sort of burns when I pee but it’s not much. My friend thinks I might have a kidney infection now. Opinions???