Check if the cables are connected correctly. If necessary, remove and reconnect them.
Clear CMOS, turn off the computer and look for the battery on the motherboard. Remove it for a few minutes and then reconnect it.
If the problem persists, there may have been a hardware problem when you replaced the RAM.