To enable 5G on your iPhone, you need to have an iPhone 12 model or later, a carrier that supports 5G, and a 5G cellular plan. Once you have these requirements, go to Settings > Cellular > Cellular Data Options and choose the 5G option that best suits your needs. You can choose 5G Auto, 5G On, or LTE.