How to use whether with an infinitive?

Use whether (not if) before the infinitive. Both actions have the same subject in this case.

For example, a phrase like this: We were discussing whether to go skiing this winter.
Solidify this grammar point right now
(you will be asked to create an account if you do not have one)

Learn more simple rules

Phrase the Cat inviting to practise English Phrase the Cat waving

At you can study grammar points and practise their application right away.