Car just died and no electrics or hazard lights.

Was driving, just stopped and the car just turned itself off, would not start again no lights...