The manner to be underwent depends on your operating conditions and other factors but manipulating pH of the system, using an electrolyte as demulsioner, ion exchange process is recommended.
As I mentioned before there are several way even biological treatment etc. exist depending on your conditions