Transference
Via transference, the doctor evokes feelings about a significant person in the patient's life, and the patient then attaches those feelings onto the doctor, affecting the way the patient relates to the doctor.
Countertransference
Via countertransference, the patient evokes feelings about a significant person in the doctor's life, and the doctor then attaches those feelings onto the patient, affecting the way the doctor relates to the patient.