Giving it a full inspection is the first thing to do. Turn the machine, unplug it. Then check the power cord if it is torn, check for broken belt or problems in the roller brush. There might be a blockage, or the bag might be full, in which case the vacuum doesn’t work as efficiently as it should. But if everything seems okay but still the machine doesn’t work, it’s time to take it to a repair shop.