This might come as a surprise to everyone, but yes, you can actually freeze recipes that contain recipes that contain sour cream. These recipes can be frozen before or after being baked. The cool thing about freezing them before you bake them is that you can take them out of the freezer and stick them in the fridge to defrost, and then cook them fresh.
If you freeze them after you cook them, you just have to be careful about warming them up. Of course, you can also freeze recipes that have other milk based products - such as cheese and soup.
However, if you plan to cook anything the next day - or within the next twenty-four hours - you can stick it in the fridge and cook it when you’re ready to do so.