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.
Guidance about Fit Notes – https://www.gov.uk/government/publications/the-fit-note-a-guide-for-patients-and-employees/the-fit-note-guidance-for-patients-and-employees.