Not to antagonize you, but proton pump inhibitors, the class of drugs to which Protonix(pantoprazole) belongs, do not cross the blood-brain barrier and therefore are extremely unlikely to cause psychological side effects.  The most significant side effect in the full prescriber info is headaches and everything else is < 5 percent. Chantix, however, will fuck you up.