error compiling for board Arduino mega 2560

how to use arduino ide with code select ,i am new user try to load marlin in arduino mega compiling error in board
please tell me
thanks