!after spending almost 3 hours in the ER and a CT scan and blood work, I have a uti that's traveling into my liver or something, has anyone had this before?

So I have a question, a little lower or about the same length of my belly button on the right side hurts, I wanna say it's my appendix but everything on th2 Internet doesn't really say it is, it's just a pain on my right side, how do I know if it's my appendix? I've had this pain before it goes away after a while, I feel bloated and I did drink a little yesterday and was at an arcade, could I just have pulled a muscel?