When tomatoes are cheap and in season, buy lots of them. If/when they start to deteriorate, put them in the freezer naked (no protective wrapping). A few weeks later when you need a tomato for cooking, take one out and run it under hot water briefly. Peel off the skin with your fingers and cut away and discard any bad parts. Then chop with a heavy-duty knife and add it to whatever you’re cooking.
See all my Money-Saving Tips!