I'm an ameteur photographer still learning a lot, and I always see comments on this site about how bad the flip-up flash is, or how someone should always use a seperate flash instead of the one that comes on the camera. What's the problem with it?
It's close to the axis of the lens, so you get red eye e.t.c. and they are not that powerful. I dedicated flash will get much better results but... Anything pointing forward from the camera appears flat. A dedicated flash allows for bounce flash which is a LOT better. Better still is to get the flash off the camera...
The right time to use the built-in flash is to fill in harsh shadows, like in direct sunlight. People often like off-camera lighting because it gives a better sense of depth (ie, not flat).
A direct flash is also hard light, which can be used effectively. But often soft light gives a more aesthetic appearance. You can get soft light most commonly by shooting through an umbrella or soft box, or bouncing off an umbrella.