You probably overheated, white smoke from the exhaust is coolant burning. Check head gasket and all coolant reservoirs. See if your water and coolants are either low or old. Aside from that do check the pump and thermostat. Be optimistic. These engines if they're well maintained and fix the issues will keep running, even if it overheated.