First create your website using html, php, etc etc on your local hard drive. Then upload it to your frihosting account by using FTP.
Thats simply how it works. The hard part is actually creating your website, you can do it by using a simple text editor or a program, created for designing websites.