What to drink for caffeine headache with a uti

I have a terrible uti right now and I have a bad caffeine addiction. I havent drank anything besides water the last 48 hours and my head hurts so bad I can barely get out of bed. I cant decide if the headache or the UTI pain is worse. Is there anything I can take or drink for this headache? It says online any sort of caffeine will make my UTI worse 😩😩😩