First, be sure everything else is working. (outlets, other lights) Try a new bulb in the light. If that doesn't work:
Take it off the wall and inspect and test the wiring. Test the switch on the light. I'm thinking it's the switch or a loose connection. Any hardware store should be able to help you find a replacement switch.