This has happened to me before. It will definitely be easier to treat if you have a second person to help you out (my cat was not having any of it!!) Hold your cat’s leg underneath the elbow so he can’t swipe at you as easily. Push down on the paw to get the claws out. Disinfect the area with betadine on a piece of cotton. And make sure you reward him with a treat if he’s been good! Hope this helps. Best of luck!