What is the difference between headings and headers?
I am assuming that you mean "heading."
The heading styles should have the paragraph formatting of "keep lines together" and "keep with next."
You should have no blank paragraph following the heading.
2.2 Why you should press Enter only once to end a paragraph
Spacing to the next paragraph should be controlled by space-after setting in your heading paragraph style.