Cut the bell pepper, onion, and ham into bite-sized pieces.
Boil the spaghetti noodles and set aside.
Heat olive oil in a pan and sauté the onion, bell pepper, and ham.
Add tomato ketchup and stir-fry with the ingredients.
Add the boiled spaghetti noodles to the pan and mix well while stir-frying.
Season with salt and pepper to taste.
Serve on a plate and enjoy.