How to choose a filter capacitor?

The filter capacitor plays a very important role in the switching power supply. How to choose the filter capacitor correctly, especially the choice of the output filter capacitor, is a [...]