For wheels to remain true the key factor outside of a possible damaged rim is spoke tension. They should be tensioned toward the high end of what the rim manufacturer recommends for that particular rim. Truing can only be considered as a temporary fix if low to average spoke tension is used and wheel is not damaged by hitting something too hard.