Headlamps
NO! I wasn't being sarky. You need to read the manual again, properly. Your headlamps do NOT have three settings, they have two MAIN and DIPPED.
Anything else, the "3rd setting" is for parking!
Here is a very brief summary:-
Use dipped: at all times when lights are needed and you are moving, (N.B. not necessarily during the hours of darkness). I would also point out that dipped beam is infinitely better than fog lights in fog! Fog lights are little more than very dubious "fashion" accessories and can be both dangerous and very annoying!
Use main: when there is no streetlighting and no oncoming roadusers (including bikes and pedestrians) that you would dazzle, AND you are not following roadusers you could dazzle through their mirrors.
You would benefit from finding somewhere dark and quiet where you won't disturb anyone, where you can park, and while another driver sits in the driving seat controlling the lights, get them to switch the headlamps onto main and then dip while you are outside the car and can study where the light falls, away from and facing the car, so you get the idea. (probably a good idea if they keep the engine running).
You should see that the dip beam is "asymetrical", i.e. it doesn't just "dip" towards the raod, it projects further along the nearside (to illuminate pedestrians and the road edge). If this is not properly adjusted it will dazzle oncoming road users.
Likewise, main beam will do much the same, but should also cast a beam of light into a "pool" further into the distance - this defines your safe driving speed at night.
(Some cars have 4 headlamps, 2 that stay"dipped" and 2 "driving" lamps that fill-in on main beam).
Since some time ago there is another setting called "dim-dip" that, as the name suggests, puts thesidelights on and the headlamps on dimly when you turn/move your lighting switch to its first position - this is the SIDE LIGHTS or PARKING LIGHTS position and is NOT to be used when driving.
If you manage to grasp that and people still flash you, get you car down to the garage and get them to check the headlamp aim on a beam-setter as they may well be set wrong (often go out of alignment when a bulb is replaced because the new filament isn't in exactly the same place as the old one).
An afterthought- maybe people flash you because you have a light out??