Heterogeneous network and device-to-device communication are two possible solutions for improving wireless network spectral efficiency. Techniques based on the Internet of Things (IoT) can interact between a large number of smart devices as well as heterogeneous networks. The goal of this study is to investigate proposed quality of service-aware resource selection in an IoT network for healthcare data using a deep auto encoder neural network with spectrum reuse utilizing mixed integer nonlinear programming (MINLP). The suggested MINLP spectrum reuse was used to address the optimization problem, and the spectrum allocation was done using fast Fourier transform based reinforcement Q-learning. Increased transmission repetitions have been identified as a promising strategy for improving IoT coverage by up to 164 dB in terms of maximum coupling loss for uplink transmissions, which is a significant improvement over traditional LTE technology, particularly for serving customers in deep coverage. Based on a comparison of existing methodologies, the experimental study is performed using parameters such as bit error rate of 40%, signal-to-interference plus noise ratio of 72%, sum rate of 88%, and spectral efficiency of 98% © 2022. Human-centric Computing and Information Sciences. All Rights Reserved.