Yes, collect one when you hire them. A W-9 gives you the contractor's legal name, address, tax ID, and business type, which you need to file a 1099 for them and to know whether one is needed at all.
The W-9 stays with you; you don't send it to the IRS. Keep it somewhere private, since it has the person's tax ID.
The business type matters: payments to corporations generally don't get a 1099 (attorney fees and some medical payments do).
This answer is general information based on the official agency pages linked above, not tax or legal advice, and your situation may differ. Dulybook is a tracking and guidance tool and doesn't file anything for you. Always confirm on the official agency page. Terms of Service