Sarah Ferguson was shocked by her diagnosis