A 69-year-old man is admitted with sepsis due to pneumonia. His creatinine has risen from a baseline of 90 micromol per litre to 230 micromol per litre over 48 hours. He is on Ramipril and Ibuprofen. Urine output is reduced. What is the most appropriate immediate management regarding his medications?