--They accept credit cards.
--Do they accept credit cards?
--They accepted credit cards last year.
--Did they accept credit cards last year?
When using did in a question, the main
verb will be in the infinitive form, not
the simple past tense.
NOTE: For a negative question in the past,
--Didn't you get my letter?
--Didn't they come?