We do no error training with or dogs, hard work but it works quickly. Take her outside on waking, before and after meals, after play and by default about 1 to 2 hourly at other times. Every time she goes outside, praise massively and give a lovely food treat. If you can keep her with you at night and take her out wen se wakes in the night as well then this will help, but if she doesn't need out at night then don't worry. If she has an accident, reassure her and clean it up well with a specialist cleaner that will remove the odour. All the time she is awake, keep her with you so that you will see when she starts to crouch and can gently and cheerfully get her outside
DO NOT correct her for this. Dogs will wee out of fear and correcting a timid one will only make things worse, also if she has been punished in the past for weeing in the house, she may have learned to hide it which makes things very difficult.
and bless you for taking on a rescue.