I would really appreciate some help with the following sentence if it's used as a headline.
10 steps to achieve your goals
10 steps to achieving your goals
I searched online and people are using both of them but I would like to understand the difference between them and when should I use each of them.