Which CPU your motherboard can support depends on its socket type, which type you need will be listed on your CPU specifications. If you're using an Intel CPU from the past couple of years, you'll need an LGA1151 socket, but you'll need an LGA1200 if you're using any of Intel's 10th gen gaming CPUs. If you're using AMD CPUs things are a little more simple, as their consumer-level CPUs are all compatible with their AM4 socket type, and will reportedly continue to be supported for some time.