Welcome to Android Central!
It's not working at all, or only for certain apps? It's possible that specific apps aren't configured to vibrate, even when your phone is switched to vibrate mode. And it's also possible that the phone itself is faulty, which would require repair or replacement.
If you need additional help or have more questions or details to share, please join the site so you can reply in this thread. See
this link for instructions on how to join Android Central.