Yes, it's the first thing you shoud do, before creating external backlink.
If you dont know how, you must learn ressources.
Optimise the source code html, css, files.
Optimise images (compression).
Opweb optimise your website for mobile web.
Many things to do before creating backlink, you will earn lot off time & google & search engine will love your website.