Why does everytime my scalp has a break out my occipital node and posterior cerv node swell. I have high anxiety and its ruining my life I cant functi?

These may be. 2 different issues. Not sure what is meant by breakout, but if infectious - that causes lymph nodes that are associated to enlarge. Regarding the anxiety- what are you doing for it? Have you had a formal mental health evaluation? Are you in talking therapy? Are you taking any medications? Anxiety is a treatable condition. You deserve to feel better than you do. Please get help.