A capacitor stores electrical energy, whereas capacitance is the ratio of a stored charge on each plate to the electric potential difference between the plates. Therefore, second option is correct.
Whenever the charge stored in the capacitor increases it increase the capacitance of capacitor but when the potential difference increases it decrease the capacitance of a capacitor.