it is far faster to use a pre-built script.
[ phpbb for example ]
to start with, you need to know how to design a database.
you need to know the scripting language of choice, php in this case.
you need to understand the SECURITY issues with any dynamic script.