How to set guest networks?

Want to create a separate network for guests? How can I do this on my router?