Today using artificial intelligence in autonomous cars for automatic control is noticed by everyone, especially artificial intelligence researchers. So far by describing extraordinary algorithms and some intelligent systems such as sensors, cameras, and navigation systems, it has been attempted to control the car automatically but autonomous cars remind most people of small cars whereas to prevent road accidents, all vehicles including trucks, buses, etc. must be smart, therefore, in this paper first by introducing different systems which have widespread use in autonomous cars, an innovative idea for smart controlling of all vehicles in an emergency situation is presented which has reliability and accuracy, is also economical and installable on all vehicles. This method can be applicable by setting up a couple of cameras in the car cabin in order that all driver's attitudes are investigated. If the driver's unconsciousness is verified, the car is controlled by its smart systems. By providing several servers and IoT systems, and using a new generation of internet networks like 5G/6G important data about the road condition are transferred among the cars also this valued information is saved in the cloud space so that every car can use them frequently. Moreover, by planning a special server all important data like scene perceptions and real-time car location are sent to an operator for remote control of the car. An IoT-6G-AR/VR platform is designed based on the data obtained from cameras, sensors, and navigation systems to enable the operator to perceive the car conditions very well.