1999 Sirion hazard lights start when braking


I just bought my first car, the 1999 Sirion, and it drives fabulously. However, after having the car for about 1 week, the hazard lights start automatically whenever I brake. I cannot turn off the hazard lights while the car is in full stop, only when I start driving the car again can I turn off the hazard lights. Before the hazard lights start I can hear a ticking noise from under the radio. I have looked under the hood to find any rusted down wires, but couldn't find any at first glance. I would like to fix this myself, but don't know where to start, does anyone have advice?

Many thanks in advance
Stolen monkey