Client requirements process


I got a question for the ones who work as a freelancer.
Do you have a questionnaire or template for the client, to get all the requirements of the project? Or what’s the best way to do so and avoid then any sudden requests from the client?

Can you say clearer?