You'll need patience, patience and even more patience.
And if you are the type of person to raise your voice, you'll have to turn into an extremely gentle person as quickly as possible.
The good news is that dogs like this can become wonderful pets - the bad news is it will not happen overnight.
Give her a stable routine so that her days are the same day in and day out - the same thing should happen at the same time very day - feeding playtime etc.
When she pees, do not scold, do your best to ignore it. If you scold this will only make things worse.
With time her confidence will increase and what will help is if you teach her simple obedience commands, "sit" "stay" "come." A dog who understands what her human wants and who gets rewarded will feel stronger and more confident and with time the submissive urination will stop.
Sometimes dogs with submissive urination problems also suffer from excitement urination, so you might want to be on the lookout for that. They pee when you come home from work, they are so happy, or when visitors come. Just do your best to stay calm and project a relaxed feeling, with time this will also stop.
At the end of it you will have a very mild mannered, genlte dog who is easy to please so it is worth the effort.
Best of luck to you.