Suppose there is an interface between two media, $A$ and $B$, and that there is a surface charge density $\sigma$ on this interface. Consider Gauss' law applied to a pill box across this interface:
$$\iint_S \vec E \cdot d\vec S = \frac{1}{\epsilon_0}\iiint_V \rho \, dV.$$
In the limit as the pill box's horizontal length shrinks, the only contribution is the flux out of the two ends, with cross-sectional area $A$, for which we have,
$$\iint_S \vec E \cdot d\vec S = (E^\perp_A - E^\perp_B) A.$$
Now by Gauss' law this flux is simply proportional to the total charge which is $\sigma A$, and so we have that the perpendicular components of the electric field are discontinuous,
$$E^\perp_A - E^\perp_B = \frac{\sigma}{\epsilon_0}$$
and the discontinuity is proportional to the surface charge density.