What does this line from Shakespeare mean?


"Beware Of entrance to a quarrel, but being in, Bear’t that the opposed may beware of thee. "