There are no fixed camera settings that give equally good results in every shooting situation. However, you can simplify the process of taking pictures by using special camera modes.
Explained in brief:
If the situation allows, shoot in RAW format. This gives you more possibilities for post-processing. Then you don't have to worry about the optimal camera settings, such as white balance or colour space, while you are shooting.
Especially if you are a beginner, do not use the manual or automatic modes. It is more advisable to shoot in aperture priority mode first.
Use the automatic autofocus mode.
If you want a shallow depth of field, open the aperture more.
If you are shooting without a tripod, it is advisable to use a fast shutter speed.
A low ISO value ensures that there is no image noise.