What do I do with the bulbs when they have bloomed?

It differs for tulips, daffodils and dahlias.