How to write a blog post and rank on google search

How to write a blog post and rank on Google search?