Some equipment has a database in the software and you can try to match your material with the standards especially if your materials are unknown.
However, the best way (especially if you have composite materials) is searching the literature (as @Ehssan Al-Bermany said) for the same materials and matching the peaks of your spectra with the others.