Burn a program in an Arduino Mega

Hi everybody:

I am new in this world about Arduino, perhaps it is stupid question, Is it posible to burn a program (made on the Arduino IDE) to the Arduino board? I want to run a program without open the IDE, if it is posible to burn that, The bootloader will disapear?

Have a nice weekend.

Best wishes.