For oxygen atom:
O(g) + e- → O-1 (e.g. ∆H = -141 KJ mol-1)
O-1(g) + e- → O2-(g) (e.g. ∆H = + 780 kJ mol-1 )
The first electron gain enthalpy of oxygen is negative because energy is released when a gaseous atom accepts an electron to form monovalent anion. The second electron gain enthalpy is positive because energy is needed to overcome the force of repulsion between monovalent anion and second incoming electron.