You can replace an AC capacitor yourself by determining its size, buying another one online, and installing it. However, we advise against this because capacitors can be dangerous. Even when disconnected from power, capacitors still hold an electrical charge, and mishandling them can lead to dangerous outcomes.