In a large skillet, brown the ground beef over medium heat. Add the diced onion and cook until it softens, about 3-4 minutes. Stir in the garlic, chili powder, cumin, salt, and pepper. If you’re adding black beans, toss them in now and mix everything well. Remove from heat.