Which sentence is correct?

a) Sam play the guitar when he was a child.

b) Sam played the guitar when he was a child.