There is nothing mentioned above that I want to repeat, but I do want to emphasize--don't rub their nose in it!!! That does nothing.
Crate train, and reward with lots of praise and some treats when they go where you want them to.
Good luck!!!