Want to solve Laplace equation for two mediums separated by an interface

I want to solve the Laplace equation for electrostatics in two different regions separated by an interface. I can’t understand how to impose a continuity condition for the electric field on the interface. Can anyone help me to figure out the problem?