There are three common ways to control the speed light-- 1)TTL or through the lens metering 2) Auto mode 3) manual
Mode
In Auto mode flash you typically set the flash to a specific aperture and a sensor on the flash automatically gives you more or less light as needed for that aperture,across a wide range of distances. This was the method of automatic flash control that was in common use before TTL was invented in the late 1970s.
A sensor on the flash( on the flash!) automatically gives you more or less light as needed, across a wide range of distances. Auto mode flash has been perfected for about 50 years or more. It is based upon setting the flash to A specific output level that is correlated with a specific f-stop, and typically a flash has two automatic f-stops, one wide, and then other medium or small. very sophisticated flashes will sometimes have three or four or five or even seven f/stop settings. But typically you have only two f/stops.
The flash has a sensor and it quickly reads,during the flash, the amount of light that comes back to the camera and it squelches the flash once enough light has been received. This happens at literally, the speed of light.
This method uses very simple technology that works extremely well. The newer TTL protocol is not working for you and I think you'll find it it is much easier to rely upon a more proven technology which is called auto flash.
Whenever you have a flash problem it is good to tell the specific camera model and flash model so that other people can troubleshoot your issue using online resources.
Even though I have been shooting TTL flash since the 1980s I actually prefer Auto flash. There are times when TTL Flash leads to extreme variation, but my experience is that the older technology is more consistent and is much easier to make corrections with
Manual flash is typically very labor-intensive, and it is a pain in the ass to shoot an event where you have to constantly adjust the lens aperture.