When can you file a patent application?

If you discovered a target or lead and want to patent it, what results/information do you need for the application? And what would be the best timing?

@BarendBouma within NLO you have experience with patent strategy and timing. Could you share you thoughts about this question with us?