If you’re using a can of the whole tomato, drain and blend
Add the chopped onion, garlic
Add oregano to the onion and garlic, and sauté onion until soft.
Season with salt and black pepper. Cook on low heat for about 30 minutes or more until the sauce thickens and you can't taste the sourness in the tomatoes.