A couple of methods I've used successfully in the past.
1. Clean the print head and exposed circuit board with tissue and isopropyl alcohol.
2. In the case of recalcitrant cartridges, take the cartridge outside and gently tap it against a firm surface. This is really a last resort and can be messy if done too vigorously.