about a month ago I had a bladder infection that went into my kidneys within 24 hours. I had a fever and it was very painful. you should go to the doctor I had to be hospitalized over night with anti biotics. if you have pain under your rib cage then it could be the same as I had it. if not you could just have a normal UTI or if you have not been careful you could have and std