Stop using it
Stop using it and switch it off at the breaker
A crack, chip or pit means the glass is no longer a sealed surface. Liquid can get through to the wiring and elements underneath, which is a shock hazard, and heating the glass can make the crack run. It can't be glued or filled. The repair is a new glass top, fitted by a technician. Leave the breaker off until then. On a range, don't use the oven either, because the oven vents up toward the cooktop.
It usually turns out to be one of these
- glass main top

