You cannot file an extension after April 18. You will have to complete your tax return and pay any taxes due as quickly as possible to reduce the late filing and late payment penalties and interest.
If you are getting a refund, there is no need for an extension. There are no penalties for filing a tax return with a refund after the filing deadline.