You use whether when you must choose between two things.
I could not decide whether to go left or right.
Example picture