Yeah this stuff was confusing for me at first. The best way to understand it is to write equilirbrium reactions with what the anion and cation of the salt will do and then decide whether this reaction can happen or not. for example ammonium chloride - NH4Cl.
NH4 + h20 <-> NH3 + h30, this...