Your dog may experience drowsiness or an upset stomach after ingesting melatonin. Watch out for other changes, too, including allergic reactions like vomiting, diarrhea or general itchiness. Contact your veterinarian if your dog starts showing any of these signs.