in focus

I was shooting loons yesterday and when I uploaded the pictures I was disappointed to find most ouit of focus  The camera was telling me they were, yet the results are different.  Suggestions?

A bit more information would

A bit more information would be useful .....
(i.e. focal length, shutter speed, distance, weather conditions .....)