Place the needle over the pin to desolder. Press down slightly with your index finger to keep the needle in place. Don't press too hard or the needle will bend.
Melt the solder on the pin with the tip of a soldering iron whilst pressing the needle. The needle will pop through the PCB. On 2-layer PCBs: keep pressing and heating, it'll pop through a second time.
We'll assume you're ok with this, but you can opt-out if you wish.