You only need a doctor’s note if you are unable to work and are ill for longer than seven calendar days.
Go to the NHS webpage: When do I need a sick note?
Your employer will provide you with an SC2 self-certificate form for shorter periods of illness.