Whenever you're cooking, save your scraps and add them to a freezer bag. Things like onion, carrot, celery, corn cobs, garlic, leeks and other vegetables, as well as various bones (chicken, fish, beef) and seafood shells (shrimp and lobster), will come in handy when you want to make a stock.
Top tip: It's also a great way of reducing waste.