It depends on the country and company, but usually there are some days you can take off without evidence, and when you need more, you need a doctor's note.
In the Netherlands: This exactly, generally after a few days you get a call by the "company doctor" (it is not from the company, but the literal translation) with an invite to discuss your health issues.