Potty trained but occasionally urinate in the house
Our dog, 2 years old female Chihuahua, is potty trained and 99% of time, she goes out to the patio through a pet door where potty papers are always. The other day we found her urinate in our bed! First time! Hopefully last time. We thought dogs never pee where they sleep or eat. She even sleeps with us in the bed often times. She also did that on the rug several times. She knows she is not supposed to do that, so she sometimes immediately goes to her own bed and hide in it. We don't understand why she does that when she knows where she is supposed to do her business and we get angry with her after she urinates in the house. What should we do to stop this? Any suggestion would be appreciated.