Like others said, run memtest. If you've OC'd your memory or switched to DOCP/XMP profile, try running it stock (2133MT/s for DDR4, 4800MT/s for DDR5 if I'm not mistaken), specially if you're running 4 sticks. I had to use 2133MT/s on my PC because the factory speed (2666MT/s) wasn't stable with 4 sticks.