Applying Scotchgard to clothing and furniture can help repel some of the dog and other pet hair but it won't prevent all pet hair from sticking to furniture or clothing.
You should brush your pets hair often to prevent most of the hair from coming off the pet and getting on clothing and furniture.
You can also buy attachments for vacuum cleaners that make cleaning of pet hair much easier.
You can also buy coats for dogs and cats to keep the shedding hair from getting off the dog and onto the clothing and furniture.