To decide on a trade, ask: who benefits? If you are ahead in material, trade pieces, not pawns: the endgame gets easier. If you are behind, keep pieces on the board and look for complications.
If you are attacking, trade your opponent's defending pieces; if you are defending, trade their attacking pieces. Trading your bad bishop for your opponent's good piece is also a good deal.
Before trading, picture the position after the trade: what will the pawn structure be, and which pieces will remain?
Exchange rules: when you are ahead in material, trade pieces, not pawns. When behind, trade pawns, not pieces. When attacking, trade off the defenders; when defending, trade off the attackers.
Before an exchange, ask: whom do the remaining pieces serve better afterwards? Trading your bad piece for your opponent's good one improves your position in one move.