If your steak is cooked, but your veggies are undercooked, it might be due to veggies being cut into thick pieces or your pan not being hot enough. To prevent this, slice your veggies thinly and preheat your pan correctly before adding the ingredients.