Rosa is right. I will try to give a couple of more example for you. Examples for when to use "Whether" "I don't know whether to wear my shoes or my boots." "Whether you like it or not, you have to go to school." Examples for when to use "If" "I am not sure if I can do that." "If you go to the concert, you will have to take your little brother."