Start by washing the potatoes, then cut them into 4 pieces and cook until soft. After cooking, in a bowl, add the cream cheese, tomato sauce, black pepper, and oregano to taste, and mix well.
In a glass baking dish (glass dish), add a portion of the sauce, the cooked potatoes, grated ham, and grated mozzarella cheese.
Then, add the remaining sauce and Parmesan cheese on top. Preheat the oven to 350°F (180°C) and bake for about 20 minutes.
Finally, remove from the oven and serve hot.