how do I get rid of shadows while taking photos?
Im not sure what kind of shadows your talking about- If the picture is being taken outside... focus on where the sun is. The sun should be behind you when taking a photo...
Just take the picture, and edit it later on your computer. Using photoshop or one of those many programs.
using flash, you staying in better lighting.