Firstly, choose which section you want to exclude from the PDF
Untick the "Include in PDF" icon next to that section
Press save & close