As a general rule, it is not recommended to keep live Christmas trees indoors when you have pets, especially dogs, as they can be hazardous. Christmas trees can cause gastrointestinal upset if ingested, and some components can be toxic. The needles and branches can cause irritation to the mouth, throat, and digestive tract, and the sap can cause vomiting and diarrhea. Additionally, the tree stand can contain stagnant water, which can attract bacteria and cause gastrointestinal issues if ingested. It's best to keep the tree in a room where your dog is not allowed to enter, or to use a fake tree instead.