To use an if... then construction, as in "If it rains, then we shall return a little earlier..."
Если поидёт дождь, то вернёмся пораньше
Whether (ли) comes right after the verb in question:
Он не знает, читат ли я роман