There is no one single way that works for all, hey, that would be to easy.
Generally, (and there are exceptions), females grow larger then males, are less colourful and are noticeably deeper in the body when viewed from the side or wider when viewed from above.
If you have a particular species in mind, say what it is. There are sometimes more obvious differences.