Do this as a last resort. Nothing else is working.If the phone is dead proceed with reflash if not, turn off your phone, hold the following buttons while pressing the power button. (the default code is 12345)
re-flash - hold the following buttons *, 3 (number button) and talk/green key. turn on the phone and do not release those buttons until you see the Nokia boot up screen. once you feel the phone power up you can let go off the power button while still holding all three buttons