Sounds like she might have some separation anxiety. I had a dog that would go outside then come in and go again. If you can work with her to gain her confidence like “nothing in life is free”. Make her sit before you feed her, going in and out of doors, teaching her a trick, just general obedience. Look up how to train for a crate take it slow throwing treats in and leave the door open until she wants to go in on her own. Maybe keep her in a safe gated room. Put on soft music and give her something to do so she doesn’t get bored. You have to be her leader she feels lost. Just get her out all the time after she plays, after she eats, as much as possible until she understands. You can look up separation anxiety to get more info. I took my dog to a training class for six weeks and that worked.
#PetBehaviorandTraining