You only need a doctor’s note if you are unable to work and are ill for longer than seven calendar days. Your employer will provide you with an SC2 self-certificate form for shorter periods of illness.
https://www.gov.uk/government/publications/statutory-sick-pay-employees-statement-of-sickness-sc2