Check its battery and recharge it if needed: Please see: https://support.apple.com/en-us/HT211019. Restart your iPad and re-pair your Pencil: Press and hold the iPad's Sleep and Home buttons until the Apple logo appears on the screen. Wait until your iPad has restarted and then pair your Pencil again.