The first things to check are: Port and Board. To check that the IDE is set on the Board, click on Tools > Board > Select the correct board
To check that the IDE is set to the correct port, click on Tools > Port > Select the right com.