The Path to Publication

After doing some tweaking and reshaping, you and your agent agree it's ready to be sent to an editor. What happens next?