I’m sure you know that dogs whine for different reasons. They whine to greet people, they whine to complain, to get food, to get attention, etc.
But if you hear your dog whining every chance she gets, give firm commands to tell her to stop. Every pet owner has to discipline the pet somehow because some behaviors are intolerable.
For instance, your dog has separation anxiety if she complains every time you leave the house. It is good that she shows her concern for you, but it is also bad because she is too attached.
What you can do is slap your hand loudly or tap your foot hard in response to her noises. You can give affirmative commands like “stop it” or “no.” You do not want to act so loudly that you scare her, though. She will notice that you are mad and think twice about whining.