How to set oEmbed max width in WordPress

Looking for a way to fix oEmbed width in WordPress? If you are using a WordPress website then you can automatically embed content from different websites. WordPress by default offers you to embed content from YouTube, Facebook, Instagram, and other popular websites. But it doesn’t offer you any features to control the space the embed content takes. So sometimes it may happen that the embedded content may break your website design or layout.