The specific steps depend on the motherboard you use.
In Realtek HD Audio Manager, you can go to Connector Settings where you can disable the auto popup option.
In this case, you can disable the auto popup option in Realtek Audio Manager to fix the error. If the auto popup option is enabled, the Realtek HD Audio Manager can randomly pop up. The Realtek HD Audio Manager usually comes along with the motherboard, and there is an auto popup option inside the program which is enabled by default. Method 1: Disable the auto popup option in Realtek Audio Manager