You can gain exposure to 5G by investing in infrastructure, hardware, and service providers. You can directly purchase stocks of leading companies heavily involved in 5G, such as telecom providers (Verizon, AT&T) and equipment manufacturers (Qualcomm, Nokia). Alternatively, for diversified exposure, consider 5G-focused exchange-traded funds (ETFs) such as Defiance Next Gen Connectivity ETF, which bundle stocks from various sectors contributing to 5G technology.