In practice, just select loops such that you include all the relevant circuit elements, in order to get enough equations to solve for the needed unknowns. You may be able to write more loops than needed; additional loops are not necessarily wrong, but won't add more information.