You should change your Apple Pencil's tip if it starts to feel rough, your iPad won't respond to it, or you've gone years without a switch.
If your Apple Pencil isn't working, you may need to charge it or reset its connection to your iPad and pair it again.