While the pasta cooks, heat the olive oil in a large skillet over medium heat. Add the ground beef (or sausage) and cook until browned, breaking it apart with a spoon. Add the minced garlic, oregano, salt, and pepper. Stir and cook for another minute until fragrant.