I have a doctor’s appointment and will miss only one class. Do I contact my teacher or the Attendance Office?

Both. The attendance office should know so they can excuse the absence, but the teacher needs to be aware so that they can verify that you received any necessary files, assignments, links, etc.