For using window fans as a cooling unit, bring the outdoor, fresh air inside your home when the air outside is cooler than inside. Once the inside air gets cool enough to cancel out the daytime temperature, turn off the unit,  and close the windows.