Begin by boiling pasta according to the instructions on the package.
Next, sauté ground beef in a bit of oil and add spices. Season to taste.
Then, add finely chopped onions and sauté for a few minutes.
Afterward, pour in chopped tomatoes and let it simmer for a few minutes.
Transfer the cooked pasta into an ovenproof dish, followed by the meat sauce.
Top it all with grated cheese and pepperoni before baking at 200 degrees for approximately 10 minutes.