I have a Mazda 3 2010 with only 100k miles, I bought it a couple of months ago, I was driving to college and I noticed that the red temperature light was blinking so I pulled over in less than 30 seconds and turned off the engine and waited for 15 minutes, turned on the heater and returned back home without it overheating again, my mechanic replaced one of the pipes now it overheated again and I did the same thing this time even less than 15 seconds.
Now my mechanic replaced a hose and told me it might be the head gasket if it happens again, today I noticed that there was some kind of gurgling noise in the right side and I saw a huge puddle under my car.