I'm having doubt in using these structures, meaning when to use one over the other...
Reading books helps me in enhancing my knowledge.
Reading books helps me to enhance my knowledge.
They are both perfectly appropriate to use, they are simply different forms. It depends on one's personal preference.
Both are correct and there is not much difference in meaning.It is just a matter of choice.