Before someone else says it
There's nothing wrong with using extreme apertures, but it should be a creative decision.
For example, if you want a bit of blur in moving water and you can't get the shutter speed slow enough, then changing from f8 to f22 (or beyond) is fine - but you need to be aware of the compromise in image quality to get the shot.
And - if you are including subjects near the camera and still want the horizon sharp then you are going to need a big aperture; either recompose or you have to live with compromising image quality!
It's really irritating to capture a cracking landscape and when you get home spot the foreground is distractingly out of focus. There are some tricks you can use, like hyperfocal distance, focus stacking and tilt-shift lenses, but that's pretty advanced stuff. For now, the best option is to keep upping the f-stop and review the image to when the near and far subjects become acceptably sharp.
Note that I'm using the words 'acceptably sharp'.
You don't need to aim for images that look sharp when zoomed to 100%, if you are only aiming to print to A3 then you can get away with a surprising amount of softness.
This is the bit where there's no substitute for experience and experimentation.