How can we build logic?

How can we increase logic building? What are the main factors to build logic?