The invention discloses a solar cell using nanofibers and a use method thereof, comprising a solar cell panel, a box body is fixedly connected to the left side of the solar cell panel, an opening is opened on the front side of the box body, and the box body The top is fixedly connected with the first motor. In the present invention, a solar panel, an opening, a box body, a connecting water pipe, a second motor, a first motor, a first mounting plate, a cleaning nozzle, a cleaning brush, a rotating rod, a fixing frame, a second mounting plate, and a water pipe are installed. Guide rod, fixed plate, movable block, screw rod, air outlet cover, connecting air pipe, water storage tank, heating box, air outlet pipe, installation sleeve, fixed air pipe, fan, first partition, heating wire and cleaning The combined use of the water pump has the advantages of automatically cleaning the dust and sundries on the surface, reducing the working intensity and improving the cleaning efficiency, and can automatically heat it to melt the frost on the surface quickly and ensure its normal use.