Hi Kamau,
There is a setting to flip pictures. If (when the front camera is selected) you click the cog in the corner, scroll down the menu you will find 'Save images as flipped' turn this to off.
If this does not solve the problem, can I clarify: 1. Are the images flipped or rotated? 2. Are the images wrong in the preview, or just when they are saved?
Another cause could be that you are holding the phone at an odd angle, or shaking it as you take the photo (the phone uses an accelerometer to determine which way upto save the photo). If this is the case I would expect it to be intermittant. The accelerometer and gyroscope can be recalibrated in settings-->display-->Horizontal and gyroscope calibration (in Android 4.0 ICS).
Hope this helps