How do I remove and replace the built-in flash in a Nikon D80?
The best way is to take it to a certified nikon repair center to have it checked out, if it's under warranty. Otherwise seek out a camera repair person who can service it for you.
See this related question for why attempting to fix your pop-up flash is a bad idea. To summarize: you could seriously injure or kill yourself if you try.