If your dog isn’t giving you an obvious signal that they need to go out (like whining at the door) I suggest teaching them to ring a bell when they need to go outside. Some of the other signs dogs give that they need to go out such as pacing around or circling can be easy to miss if they’re in another room, which is why a noise based signal such as ringing a bell can make things easier.
To communicate clearly and consistently with your dog, you need to understand how she learns. Dogs learn through the immediate consequences of their behavior. The nature of those consequences determines how they’ll behave in the future. Dogs, like other animals (people included), work to get good things and avoid bad things in life. If a behavior results in something rewarding-like food, a good belly rub, playtime with dog buddies or a game of fetch with her pet parent-your dog will do that behavior more often. On the other hand, if a behavior results in an unpleasant consequence-like being ignored or losing things she finds rewarding-she’ll do that behavior less often. Are dog training classes worth it?