For ranking on Search Engines, both On-Page and Off-Page are very important. First, you'll have to optimize On-Page i.e. title, URL, Meta description, keywords, internal linking, Meta tags on your website. Afterwards, you should build powerful backlinks on authority sites for Off-Page SEO. You can build backlinks through guest blogging, forum posting, quality article submission, etc.