Doctors note

So I have a doctors note excusing me from work until the 7th. I was planning on still going into work and showing my boss the doctors note and telling him if I feel sick then i need to go home but someone told me that if I show my manager a doctors note he is supposed to send me home regardless. Is this true?