Chop the tomatoes and onions.
Sauté the ground beef in a pan with olive oil.
Add the chopped onions and sauté together.
Add the tomatoes and simmer.
Season with salt and pepper.
Boil the spaghetti noodles and drain the water.
Mix the sauce with the noodles and plate.