You simply request a withdrawal and make the payment. Keep documentation to prove how you used the money if audited.
The limit is a lifetime of $10,000 to use toward student loans per beneficiary.
There are other rules related to using 529 funds for student loans so you should read the relevant information in the attached document.