Sometime, I cannot understand whether gerund or infinitive will be the right form of a verb in a sentence.
For example:
The key to being (or to be) healthy lies in being physically active
or
The first step to being …lies in being physically active
pls suggest