1. Prepare an estimate first, diagnose later.
2. Diagnose first and then estimate.
The answer to this seems so obvious as to not be worthy of discussion but there are many who want the first option!
“Car won’t run so how much is a fuel pump replacement?” This question does NOT include a useful diagnosis.
For more on this topic see “What if?” post.