On-page includes user intent and relevant content, keyword selection, title tag, anchor text, site map, internal links, and many to say.
Here there are many detailed guides about on-page, check those.
Better the on-page optimization, improve chance in search results.