Can I mix DDR, DDR2 and DDR3 modules in my PC?

No. DDR3, DDR4 and DDR5 are different. You must select the correct type to match your system. DDR3, DDR4 and DDR4, DIMM and SODIMM modules have notches in different places to prevent insertion into a incompatible system