There is no simple answer to your question, because both of these verbs have multiple meanings. There is no clear "difference" here...
The best thing is to look in a good dictionary: Cambridge Collins Merriam-Webste,r for sample, and see which of the definitions/ examples correspond to what you think these words mean....