If you are trying to program your Ramps board you must do the following.
Ramps+Mega2560 = Hardware
Arduino IDE = Software
Marlin or similar = Firmware
You must use you software to add Firmware to your hardware.
Mega 2560 is a development board powered by a Microprocessor, so its like a mini computer and it gives instructions to the Aux ports, in this case the ramps board.
in turn powering and moving your 3d printer.
if this has not helped, please specify what you actually need and somebody might be able to help.