If the hazard light button does not work, you may need to check the fuse for the hazard lights. This fuse is typically located in the fuse box under the hood of the vehicle. If the fuse is blown, replace it with a new fuse of the same amperage.
If the hazard lights still do not work with a new fuse, you may need to take the vehicle to a qualified mechanic for further diagnosis.