Fix your focus
Auto focus cameras focus on the centre of the frame. If your subject is either side of this focus point, the camera will focus on whatever is in the centre… and your subject will be out of focus.
Most cameras have a focus lock. To use it, point the camera at the subject while it is in the centre of the frame and press the shutter button halfway down. Keep the pressure on while you reframe the shot. When you’re happy with your composition, press the shutter button all the way down.