Salmo,

You might check the focus setting on your camera. It might have accidently been
set on manual focus?

I have done it a couple of times myself.