To use the S Pen on a Samsung Galaxy device, you'll need to release it from its holder and tap the screen.
To properly sign a PDF on your Android phone or tablet, you'll need to download an app from the Google Play Store.