Yes/No Questions in the Simple past tense
When you make any question that can be answered as yes or no, then you should start it with auxiliary verb did followed by the subject and the 1st form of base verb.
Yes/No Sentences = Did + Subject + 1st form of Verb +Object?
For example
Did she work in that company?
Did she go to the market?
Did you complete the task?
Did we win the match yesterday?
Did she come last week?