first off, its recommended that they be 2 years old.
then they are given a seditive, xrays taken, and with our vet they send the xrays to someone who specializes in OFA certifications. i have done 2 of our shelties ( both with OFA excelent) and are getting ready for a 3 in feburary
good luck !