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.
Many employers have their own self-certification forms. If your employer doesn't have its own form, it may use an SC2 form from HM Revenue & Customs instead: Employee's Statement of Sickness.