Your doctor may recommend a TEE if he or she thinks your heart may have problems. Your doctor can also use an echocardiogram to decide if you need treatment or to see how well a treatment is working.