How Do I Keep My Navbar Fixed On Top?

How do I stick the header to the top of the page?

.

How do I make my menu stick to the top?

How can I fix my navbar after scrolling?

How do I fix my navigation bar?