The action you take depends on the breed you have. Some breeds are more relaxed and content with their own company, like a Pekingese. Then there are those that can’t cope with any confinement, like a Jack Russell terrier. It’s imperative that you puppy-proof the entire area where the pup is kept while at work, for example, no electrical cords that can be chewed through, no toilets to fall into, etc. I prefer the construction of a very secure outdoor run. This cage area must be built on grass and sand to help house train the puppy. Keeping the pup indoors requires a litter tray of garden soil.
Separation anxiety will be caused and made worse by guilt-ridden, compensatory overindulgence while you’re at home. You need to learn through puppy training schools how to convey calming signals when you’re in contact with the puppy. A neighbour is a good idea, from time to time, and not as a rule – depending on whether the person next door has a same-aged pup and whether they know how to behave with, and imprint, an impressionable puppy. Ideally, the puppy has to learn to adapt to your lifestyle and you shouldn’t revolve your life around the little dog.