If the sagging isn’t caused by a loose fence post, the horizontal rail may need to be repaired. Tighten loose screws or replace them with better-quality outdoor screws. Replace rotted, cracked, or insect-damaged rails.