For the transitions metals, you always lose electrons from the s orbital that has a higher n number than the d orbital. Specifically, electrons are always lost from 4s before 3d.
Filling electrons is different and you would just use that orbital diagram trick that I'm sure you've seen before.