Law of the prolific fix
Every bug fixed in a hurry generates at least two new ones, preferably in a part of the program that had nothing to do with it.
Bugs are like the heads of the hydra in the legends: cut one off and two grow back. With one difference: the hydra's heads at least grew back in the same place. New bugs prefer to appear on the other side of the program, where nobody is looking.
You fix the VAT calculation and the login stops working. You sort out the login and the invoices come out dated 1970. Software is a system of communicating vessels: push on one side and it comes out of the other, usually on the floor.
At this point the quality guru utters the magic words: 'automated tests'. He's right. But the urgent bug always arrives when the automated tests are 'nearly ready'. I approach the quick fix in the same spirit as changing a light bulb in an old house: with confidence, and with the fire extinguisher close by.