It depends what tool you are using and if it is a used or new PCM. If it is a new PCM or you don't have the old PCM that can still communicate, then you'll need a J2534 and a laptop and purchase a OE subscription.
https://www.youtube.com/watch?v=X-7u9ev69jo
https://www.youtube.com/watch?v=kt35r-8nPV0