When you purchase a Shared Hosting, Business Hosting or Enterprise Hosting package, you will get the "cPanel Account Information" email to your registered email's inbox.
There we clearly mentioned two nameservers of your server, in that cPanel Account Information Email. (Example as: dns1.xxxx.com (vvv.vvv.vvv.vvv) and dns2.xxxx.com (vvv.vvv.vvv.vvv) like that)
Copy them without IP Address which mean only dns1.xxxx.com and dns2.xxxx.com
After that login to Domain Control Panel, (Namecheap, LK Domain Registry, PorkBun, Godaddy, etc) and visit Manage Domain. You can find a section to update Nameservers there.
Put our two nameservers on the nameserver section and save. After 6-15 hours, your domain will be pointed to the server and after that, you can Install FREE SSL also to your website.