How to make the most of a windfall