And allowing this to happen is a criminal offense. Your vet will advise on preparing your pet for air travel. Double check with your airline to be sure the cargo pit is pressurized and heated. Most of the time when people take a vacation or are away from home on business, etc. This is probably harder on a dog than on a cat because dogs crave almost constant attention from their owners and they are slavishly devoted.
Pets can become depressed over a separation.
It is common to have a friend or relative stop by on a daily basis to feed and check on a pet, but people are very busy as a rule and cant spend much time doing this. It is recommended that you consider choosing either a pet-sitter or a kennel. A professional pet-sitter will spend considerable time with your pet in your home, playing with it and feeding it. The charge is usually quite reasonable. The other alternative is a kennel.