The random events in "Stalker 2: Heart of Chernobyl" are very dangerous special times in the game. It is thankless to manage them. The better way to deal with them is to run in the opposite direction of the indicated direction, so that You can stay away from there so that you don't waste bullets fighting.
How to best deal with random events in STALKER 2: Heart of Chernobyl
After you complete the prologue of "Stalker 2: Heart of Chernobyl" and start exploring the overworld, you will often encounter some random events, in which one or two groups of random factions will be generated near you. These factions may start fighting among themselves, or attack you. However, you don't necessarily need to conflict with them.
When this random event occurs, you'll see a white arrow appear in the center of the screen, indicating how close the enemy is to your position. If you see this prompt, simply run in the opposite direction until you are far away from the enemy and the enemy loses hatred towards you.