Using a spray bottle can have negative effects on your dog or puppy. it is a form of punishment, and can make your dog fearful of water or of bottles, and make bath time or medical procedures involving bottles a battle. It can also make your dog fearful of you, and if the punishment occurs when your dog is greeting a specific visitor, you may get a fearful response from your dog each time that friend comes over. Here is an article written by a positive reinforcement dog trainer which I recommend reading, in the link below:
https://glasgowdogtrainer.wordpress.com/2013/01/24/8-reasons-why-you-shouldnt-train-your-dog-using-a-spray-bottle/