You generally need to know the voltage and current requirements of your circuit. The formula C = I / (2πfV) can help, where I is the current, f is the frequency, and V is the voltage. But honestly, sometimes it’s just trial and error based on similar circuit designs.