haywire (noun) – not working in the right way, also figuratively: mad
You usually say: to go haywire.
Here are some examples of how you can use it:
Are you afraid of robots going haywire? That is the subject of a lot of SF movies.
In the chaos after the earthquake, the government services went haywire.
The car is starting, and then it isn’t starting. The switch has gone haywire.
Many first-year students go haywire as it’s their first time away from home and they don’t know how to balance parties and studies.
With all those new hair colours you can go haywire with your hairstyle.