King Charles has had to step back from some of his usual duties this year after being diagnosed with cancer.