Nikon d40 flash not working?

i haven't had my nikon d40 for long.
but the flash isn't working.
it does pop up but i can only hear a clicking sound every
time i press the button.

anyone know what's wrong with it?
Update: i already tried reseting it.
and i'm pretty sure it's focused.
5 answers 5