When, Why, and How to Patent your Invention