The most common hardware fault is loose memory and it is always worth trying first because it is easy.
Disconnect the power. Take off the cover. Remove the memory cards and reseat them. Take care to not use excessive force and make sure you are grounded to the computer case when you are handling the cards.