What helps with flank pain

Last night my left side of my back near my kidney started hurting so bad I had trouble sleeping. Well today I looked up how to help kidney pain and it said you can drink water and take a non aspirin pain reliever so I drank 40 oz of water and took ibuprofen. Should this help ? It still hurts pretty bad. But I don’t have any UTI symptoms so I don’t think it’s a UTI.