Not sure what you have for hardware or firmware, but I believe the typical Marlin/RAMPS config is as follows:

HEATER_BED_PIN 8
HEATER_1_PIN 9
HEATER_0_PIN 10

It can be tricky to work through the #if #else #endif logic. Always check to make sure no more than one definition is assigned to any pin for your specified motherboard type.