Get a proper flash and bounce it. Use a tripod, bounce the flash straight up, off the left wall, off the right wall and behind you. Add them all together in post making a composite. It does look really poorly lit.
Go out in day time, shoot something in A (Aperture mode) at like F5.6 -F8 and then post it up. Then we can rule out camera errors/front/back focusing etc... and put it down to the user.
Shooting in really badly lit environments does your head in especially when your just starting out. Don't expect great things out of the built in flash either. They are rubbo!