file extension for federal and NY

I planed to E-file my federal return and NY state return by next week. Do I need to file extension form for it? (I know federal and NY have extended the deadline to July 15th but not sure if we get the extension automatically). Thank you