If I used to work in a company, which one of the sentences given below is correct when I am telling someone about this experience:
(1) I have worked in this company before; or
(2) I had worked in this company before.
I was taught that it's fine to use 'have + p.p.' as a way of description when we are talking about our experience. However, I was also taught that if the thing we are talking about has been done/over in the past, we should use 'had + p.p.' instead. Therefore, I was wondering which one is correct or are these two sentences both available for this context?