The coronavirus disease 2019 (COVID-19) pandemic has severely affected people’s lives worldwide in an unexpected manner. According to the World Health Organization (WHO), several viral epidemics continue to occur and pose a significant public health problem. Until May 2023, there have been 676 million cases of COVID-19 infections and over 6.8 million deaths, globally. This paper surveys the role and effectiveness of advanced fifth-generation (5G)/beyond 5G (B5G)/sixth-generation (6G) technologies, combined with mobile applications (apps) and the Internet of Medical Things (IoMT), in detecting, managing, and mitigating the spread of COVID-19 and designing smart healthcare infrastructures for future pandemics. Analyzing and summarizing the research of relevant scholars based on the impact of 5G/B5G/6G and other technologies on COVID-19. The study tabulates the technical characteristics and effectiveness of different technologies in the context of COVID-19, summarizing the research of previous scholars. Challenges and design issues in the implementation of advanced information and telecommunication systems were demonstrated. These technologies can inspire the design of smart healthcare infrastructures to combat future virus pandemics.