How do you decide which features and improvements to focus on?

I can imagine you have an endless supply of ideas for new features to build, existing functionality to improve, or bugs to fix. How do you decide what to work on next?

Maker of WIP amongst other things.