In English help can be followed either by an infinitive (to + base verb) or a bare infinitive (base verb only), so both of your examples are correct.
Some common patterns with help are:
- help somebody do / to do something
- help somebody with something
- help somebody for some reason
- help somebody in doing something
One mistake with help that people sometimes make is to use it with a gerund (base verb + ing) but this is incorrect. For example:
help somebody doing something
I hope this helps.
P.S. If you want a challenge, try this question: help + gerund is incorrect, but the following sentence is good English. Why?
The hotel employee helped the man carrying the heavy suitcases.