Boil the spaghetti noodles.
Slice the onion, bell peppers, and ham.
Heat oil in a pan and sauté the onion, bell peppers, and ham.
Add the boiled noodles and ketchup, then stir-fry together.
Season with salt and pepper.
Finish by sprinkling parmesan cheese on top.