There's a few tricks to cooking ground beef. Bring it to room temp on the counter before cooking rather than putting it in the pan straight from the fridge. Avoid moving it around too much while cooking. Instead, sear it on medium-high heat for a few minutes before breaking it up.