Many people like the idea of building their own website and publishing it themselves, which is fine as long as you understand the procedures involved in getting your website online. For some, it can be a little confusing without some guidance.
Even if you learn how to design a website, and upload the files to your chosen web host, there's still the matter of getting visitors to come to your site. If it's a personal website it probably won't matter too much if you're not getting a lot of visitors, but if it's a business website and you're relying on finding potential customers then it's important to understand how to drive traffic to your site as well. This is generally the hardest part.
Having a good knowledge of SEO (search engine optimisation) is essential to getting a high ranking position for your website. Without implementing the most effective SEO techniques your website may never get found.
If you're determined to do eveything yourself then here's a link to an article that you may find helpful...
How to design build and publish a website