@jeccyka,
Patience, patience, patience - that's what everyone needs who adopts a shelter dog. These poor pups are often mistreated, not house broken and/or have many behavioral problems.
Once you gain their trust and have them house broken, they're the most loving animals you can ever have. Be gentle with them, love them and everything else will fall in place.