Like humans, dogs can sneeze for a relatively long period of time for various reasons. Allergy, dust and pollens in the air that can trigger an irritation in the nasal passages of the dog - are some of their causes. . It can also be a symptom of a cold. Stroking the side might help calm the dog. Check this out for more info - http://www.canismajor.com/dog/nose.html.