You CANNOT use either DDR or DDR2 ram unless the mboard has slots for BOTH types - most mboards DO NOT. There is NO SUCH THING as a ram slot that can be used for both types!
If you have both types of ram slots, you must install the modules in the right slots, and both types cannot be installed at the same time.
The modules are the same physical length, but DDR2 has more contacts, uses a lower voltage, and the notch in the bottoms of the two types of modules, and the bump in the bottom of the two types of slots it is supposed to line up with, are in different places.
You cannot get the module all the way down in the wrong type of slot and have the latches at the ends of the slot both latch nto the module without physically forcing it down!
If you have installed ram in the wrong type of slot, the circuits for that slot and the ram are probably fried and will never work again!
Assuming you didn't do that, you probably have a ram compatibility problem....
Ram that works in another mboard, or any ram you buy or have lying around, may not work properly, or sometimes, not at all - even if it physically fits and is the right overall type (e.g. SDram, DDR, DDR2, etc.; PCxxxx, xxx mhz) for your mboard. In the worst cases of incompatibilty your mboard WILL NOT BOOT with it installed, and the mboard may not even beep - the ram has to be compatible with the mboard and it's chipset.