You can file an extension for your personal taxes by clicking this link.
You can use this link to file and extension for your S-Corp.
Remember an extension is an extension of time to file, but it does not give you any extra time to pay. You will still need to make all payments by April 15th to avoid penalties, interest and fees.