This annoying bug has existed for a while on LG tvs right back to 2017 models and I am sure before that, but I kinda have a working solution.
What you need to do is load up an audio source on HDMI (which ever is you arc arc output) and then once audio format is negotiated then switch back to your TV app such as netflix, etc. This works 100% of the time.
So for example if you have let's say a ps5 or switch connected to your av received turn that on and wait for the av receiver to show a dts, dolby logo etc, I prefer to use my switch because it's the fastest to turn on. Then just load what ever TV app you want to Netflix, YouTube etc amd you AV receiver (if set up right) will switch to TV and the arc negotiation will work correct and ARC audio will work fine unti you turn off your TV.
Ps turning off the tv doest always break arc, sometimes you turn it on after the above and it works as expected other times it still fails amd you have to perform the above step
Pps, if you can see arc has negotiated but still not audio but maybe you see pcm logo even though you are using dts, dolby etc to fix that you need to set the to output to the tv then switch it back to hdmi.
Do not use the optical lead, it doesn't support decent audio, most basic 5.1 amd in some cases only stereo.