Fentanyl changes how your brain works. This can cause problems like depression and anxiety. It can also hurt your ability to think. And it can make your feelings very up and down.Using fentanyl might make existing mental health issues worse. It also increases your chances of having more than one mental health problem.