overheating on 1997 BMW 328i

well my car start overheating and befored it got to the red line i turn it off now wen i try to turn it on it wont turn on and it said check engine what do i do ?

Asked by for the 1997 BMW 328i
you have overheated the engine. have it towed to a local
BMW specialty shop and have them assess what you have damaged.
bout i turn it off the car befored it got to red and some one told me that is lock or something like that any ideas ?