To avoid low-on-air or out-of-air emergencies while deep diving, you should follow some guidelines. First, it's important to plan your dive and set limits to your depth and bottom time based on your training and experience. You should also make sure to monitor your air supply and check it frequently during the dive. Additionally, you should have a backup air source with you, such as a second stage regulator or a pony bottle. It's also important to communicate with your dive buddy and establish hand signals for low air or out-of-air situations. Finally, you should always ascend slowly and perform safety stops to avoid decompression sickness. By following these guidelines, you can help ensure a safe and enjoyable dive without any low-on-air or out-of-air emergencies.