Planning ahead can prevent headaches later on.