You might be able to use a smaller countertop bin if your municipality has curbside composting; if you’ll need to travel to a drop-off site, a higher-capacity container in the freezer buys you ...
First, you need a composting container. There are some excellent official versions you can buy, such as sturdy countertop compost bins with lids that include air holes and useful handles.