VW Jetta 2000

My dash lights and tails lights went out all of a sudden. then the fan has started running when i cut car off. what is going on?