Take the appropriate action and verify that the warning light turns off.

Taking Action
Message Indicated on DisplayMazda 6 Owners Manual: To Operate the System
The High Beam Control System (HBC) operates to switch the headlights automatically
between high and low beams after the ignition is switched ON and the headlight switch
is in the AUTO and high beam position.
The High Beam Control System (HBC) determines that it is dark based on the brightness
...
Mazda 6 Owners Manual: Oil pressure switch removal/installation
Warning
When the transaxle and ATF are hot, they can badly burn. Turn off
the engine and wait untill they are cool before replacing ATF.
1. Disconnect the negative battery cable.
2. Remove the under cover.
3. Disconnect the cord assembly connector.
4. Remove the oil pressure switch.
...