It's done when it's easily pulled apart using a fork. To achieve such a result, you need to cook your pork cut for a really long time (this can take up to 5 hours, depending on the size of your cut) at a rather low temperature (around 150C/300F).