Slotting ram into computer is as easy as putting AA batteries into a clock. Just need to know the orientation and check if it fits in fully.
Before you make any purchase, make sure to check if your motherboard supports DDR2, DDR3 or DDR4 and make the appropriate purchase. Not all ram are compatible with all motherboard.