PCA and PLSDA

When performing PCA and PLSDA, how can I understand which are the components used?