Chop the onion and carrot, grate the tomato on a coarse grater or cut into cubes, cut the potatoes and ham into cubes. In a frying pan with a thick bottom, fry onions, carrots, potatoes, tomatoes and casserole (ham) in a small amount of vegetable oil. Stir and cook for about 2-5 minutes.