Please perform the following steps:
1- If the S Pen has connection problems or the S Pen disconnects often, reset the S Pen and
connect it again.
Insert the S Pen into the slot. Then, open the Air actions setting screen and tap on 3 dots → Reset S
2- If a magnet is nearby, please remove it and try to use S pen again.
For further assistance, register your concern in Samsung members app(Open Samsung members app>click on “+“icon>send feedback>Error report/ Ask Questions).
Team Samsung Members