Exactly how to set your autofocus depends on your camera model.
Exactly how to set your autofocus depends on your camera model. They all have different options, so I’ll make my recommendations more general in nature.