I have just covered this in a MSci course on the Standard Model (SM) although, given that my exam is some weeks away, I would described my understanding of it as novice at best and it may therefore take me a few days to research answers to any questions that might arise. That said, here goes:
The most general case I can see would be the SSB (spontaneous symmetry breaking) of non-Abelian gauge symmetries, as is the case in the GWS-model, that is, the electroweak sector of the SM. I will try to outline the essence of the procedure for a general field psi that in this case is a complex doublet of fields (ie 4 in total) but could just as well be something else. (For brevity I will avoid mention of the chirality considerations that, due to observed CP-violation in weak interaction, led GS&W to propose the full version of their model.)
- look for the ground state of the Lagrangian that breaks (partially) the non-Abelian gauge symmetry SU(2) x U(1). Because of Lorentz invariance, that we wish to preserve (if aiming for a physically-useful QFT at high energy), only scalar quantities are allowed to acquire non-trivial vacuum expectation values (vev), that is only <0|psi|0> /= 0. (/= meaning not equal to).
- one then is free to choose to align the vev with the 'down' direction (for example) of the local SU(2) internal symmetry (often called "weak isospin" in this case).
- the resulting 3 fields (call them theta 1,2,3 to avoid confusion) can then be 'gauged' away (aka 'swallowed by the longitudinal components of the SU(2)vector bosons') by performing appropriate local (gauge) SU(2) rotations on the fields.
- the resulting mass spectrum (ie. which fields have acquired mass and which have not) of the broken phase may then be obtained by substituting the resulting expression for the psi fields back in the the Lagrangian and focussing only on terms quadratic in the various particle excitations.
The spectrum in this case is that a non-trivial mixing of the fields occurs as a results of the SSB. It results in the W1 and W2 fields having a positive definite mass term whereas the W3 and B^mu fields have a non-diagonal mass term, ie. they are 'mixed'. They can be unmixed into the massive Z0 and massless photon fields you will be familiar with from particle physics by performing an appropriate rotation in field space. This results in what is known as the 'weak mixing or Weinberg angle' which appears in the coupling the the photon field, ie. proportional to the electron charge.
When all is said and done the group symmetries of the fields have undergone a change from SU(2)xU(1) -> U_em(1) where the latter is the unbroken Abelian group of 'electromagnetism' (not identical to the original B^mu due the the non-trivial mixing).