How do I affect a legal separation?

How do I affect a legal separation?