I submitted a return separate from my wife, but we now want to file jointly. I know I need to file an amended return, but what does she do since she has not filed yet?

Don't want her to get hit with a penalty. Does she file for an extension and then I submit an amended return with us filing jointly?