Student or Learner
Which is correct?
'He had been there when I came'.
'He was already there when I came'.
Context would help but "He was already there when I arrived" would be most natural.
Remember - if you don't use correct capitalisation, punctuation and spacing, anything you write will be incorrect.