Is the rear window fully closed?
If so, was the battery recently disconnected? You'll need to normalize the window, by fully opening it and holding the down button for a second or two and then fully close it and hold the up button for a second or two. Once the auto up/down feature has been restored, try the wiper and defoster again.