Don't shit where you eat
-
This phrase means do not have romantic relationships with any co-workers. Basically, you dont want to make yourself uncomfortable (by potentially having a romantic relationship get ugly, or shitting) at the place where you work (where you eat).
Don't shit where you eat meaning & definition 1 of Don't shit where you eat.