Which sentence is correct?

a) Did you went to the movies.

b) Did you go to the movies?