Disable glow effect

First you must learn about volumes and exposure settings in HDRP
Then you can disable it completely

When you could disable the effects manually, in the following you can see how to use scripts: