SEO can be done in two ways on-page seo and off page seo.
On-page seo is the process of optimising keywords with a quality content, optimise attractive title and description.
Off-page seo is the process of building links by various activities to improve website ranking.