if your dog poops in the house scold him/her and take her outside and leave him/her outside for a little bit. Also when you feed your dog take it outside right away when it's done eating so it can do its business. During the day if you are not home set up a little play pen for your dog and put doggy pads in it. Another solution is that you could install a doggy door, teach him/her how to use it and have them go through it during the day.
You can get the male dog neutered, this should stop him from urinating in the house as much as he did.
Keep your dog inside the house
you take the dog outside take him outside the household.
Daily brushing
Get the dog some good chew toys. Dogs need to chew.
Hi, Spend time with your dog. Make sure she feels comfortable in her home and attached to members of the household. Here's some guidelines on how to stop your dog from going to neighbor's house: http://dogtime.com/escaping.html
MY 1 YEAR DOG SPRAY ALL OVER THE HOUSE IS IT BECAUSE WE HAVE ANOTHER MALE DOG
to stop peeing on your floor?
The only way to prevent this, is to walk the dog in the evening. Don't give it pills, your dog will hate you for it.
well if its a baby you have to train it if you don't it probable wont stop
Toilet train him perhaps. type in'how to house train my dog' in google.
Speak to your neighbour and ask them to keep their dog away from your house to do it's business. http://doggy-bloggy.co.UK/