Help what's wrong

After driving my 2007 honda crv, I noticed that the temperature gauge rised from cool to hot. I immediately moved to the emergency lane. As soon as I did that, the car turned off. I let it cool, added water and when I tried to turn it on, it sounds like it wants to turn on but dies in the process? Im not sure what the problem is, any ideas on what the problem might be.

Overheating can warp the cylinder head and/or engine block, which can cause a failure to start due to loss of compression, valve damage and so forth. The most common causes of overheating include low coolant level (including that due to sudden large leaks), a faulty thermostat, a plugged radiator, a faulty radiator pressure cap, collapsed hoses, non functioning cooling fans, and a faulty water pump or drive belt. Certain engine faults, such as a leaking head gasket or poor engine running condition can also cause overheating.

If the car shut itself off, overheating has already happened- and likely to the point of serious engine damage.
Starting and then stalling could be something unrelated, though, and could be a fuel or spark issue that just happened to happen at the same time as you noticed the hi water temp. Going to have to get this to a mechanic for some diagnostic checking to see what the actual issue is.