For static subjects you can use manual focus to practice. Using a tighter aperture (f/4 to f/11) will get more in focus (deeper depth of field). As a general rule, you don't want to increase the aperture over f/11 as that will introduce diffraction, which softens the image.
That camera has a couple of autofocus modes and watching any good video guide will introduce you to them. But for architecture it's good practice to try manually focusing too.