In the very rough draft, don’t worry about any of this. Just write. It’s when you go back that you need to focus on how much dialogue you have. Listen to your work.
There are some scenes in which dialogue could easily take away from the effect. It might need to be completely descriptive with little talking. Then again, maybe just a few words will enhance it. Or, this needs to be a heavily dialogued scene with small descriptions to explain the voices and the like.
Not every scene has to have a certain number of lines that are dialogue. It varies. If you have a scene where a girl is running through the woods, do you really need dialogue? You might want to put in a phrase here or there where she is speaking to herself out loud, but otherwise dialogue is not necessary. But if two people are having a conversation, dialogue is a must. Description might need to be kept small.
Read your scene out loud. Go back and add a few pieces of dialogue. Read it out loud again. Does it sound better or worse? Maybe you feel that there is already too little dialogue. Cut some out or condense and see how it sounds.
Have other people read it. Now, keep in mind that there are as many types of readers as there are writers and books. You could ask ten people to read your scene and get ten totally different responses as to the amount of dialogue. Go with the ones that tend to understand what you are trying to get across to the reader.
And listen to the characters. They will tell you sometimes that they just have to say certain things. It’s up to you to deliver their speech.