Heat olive oil in a pan over medium heat
Add chopped onion and cook until soft
Add minced garlic and cook briefly
Add tomato paste and stir for 1 minute
Add crushed tomatoes
Add salt and black pepper
Add dried oregano and basil
Simmer on low heat for 15 to 30 minutes
Stir occasionally
Add a little water if the sauce becomes too thick
Taste and adjust seasoning
Add cooked pasta to the sauce or serve the sauce over pasta
