The invention discloses a wind and sand prevention method adopting an electromagnetic-type reinforced on-wall fence with a gauze mesh, and relates to a wind and sand prevention method adopting a fencewhich is perspective and simultaneously has the functions of safe protection and wind and sand-dust prevention. The defects that in the prior art, as for a full-closed fence, full-circulating of aircannot be achieved, and as for a perspective fence, the magnitude of wind power passing through the fence cannot be effectively controlled, and wind and sand-dust cannot be prevented are overcome. Themagnitude of force of wind blowing up a hanging curtain is adjusted through attraction force of a magnetic field between a reset magnet at the bottom of the hanging curtain and a fixed magnet on thefence, the motion range of the hanging curtain is adjusted through a clamping rod capable of moving up and down, the magnitude of the force of the wind passing through the fence is further controlledeffectively, and thus the purposes that the fence is perspective, the space above a reinforcing transom and the space below the reinforcing transom can be controlled independently, the magnitude of the force of the wind in spaces with the different heights can be controlled, meanwhile, safe protection is achieved, and wind and sand-dust prevention are effectively controlled are achieved, and the technical effect in the aspect of adjusting of the ventilation amount of the fence is particularly prominent.