Those are signs of a sick dog,you should consult a vet.Could have eaten something bad .
My furry baby started going in the house also.Took him to my vet,he had worms.I believe there is a reason why they do that, if they are trained right. Punishing him will only make things worse or afraid of you. Hope this helped
I Have A Small Dog, She's Vomiting, Shivering, Shaking, And Not Eating; What Do These Symptoms Mean?
I have a small 15 year dog,I had trouble in the past,that sounds like yours.Many trips to vet.Found out is was food.Burt now only eats chicken only.you need to find a combination and stick to it...No junk.