We show that time reversal symmetry-breaking p(x)+ip(y) wave superconductors undergo several phase transitions subjected to an external magnetic field or supercurrent. In such a system, the discrete Z(2) symmetry can recover before a complete destruction of the order parameter. The domain walls associated with Z(2) symmetry can be created in a controllable way by a magnetic field or current sweep according to the Kibble-Zurek scenario. Such domain wall generation can take place in exotic superconductors like Sr(2)RuO(4), thin films of superfluid (3)He-A, and some heavy fermion compounds.