If the house has been sitting a wile take a look at the inside of the socket.  See if it looks rusty or filled with dead insects.   
My outside light would work for a day or so then burn out the light.  If I replaced the bulb it would last another day then burn out.  I replaced the whole socket thing and it works fine now.