What had they done then

Could you correct the punctuation please?
What had they done then?