When trying to select my puppy and only my puppy, sometimes other background objects are also being selected because they have similar colors.  When I try to unselect the background objects, parts of the puppy are also unselected, a vicious annoying cycle.  Is there a way to overcome this with Photoshop or do I need to be more careful with making sure objects in the background are not the same color as my photo’s subject?

When trying to select my puppy and only my puppy, sometimes other background objects are also being selected because they have similar colors.  When I try to unselect the background objects, parts of the puppy are also unselected, a vicious annoying cycle.  Is there a way to overcome this with Photoshop or do I need to be more careful with making sure objects in the background are not the same color as my photo’s subject?