I think I might have a kidney or bladder infection? How to tell the difference?

Kidney infection. Kidney infection (pyelonephritis) generally causes fever, chills and very significant flank pain. One generally feels "sick". Bladder infection (cystitis) rarely causes systemic symptoms. Discomfort in the pelvic area and irritative voiding symptoms are typical.