In my report, sometimes, the section label is getting completely at the bottom, or if sometimes not completely, after the section label, there is only one or two lines, like the picture below:

How do I move the section to a new page if after the section there is less than 5 lines to obtain a new page?