Patient behavioral analysis is a critical component in treating patients with a variety of issues, with head trauma, neurological disease, and mental illness. The analysis of the patient's behavior aids in establishing the disease's core cause. Patient behavioral analysis has a number of contests that are much more problematic in traditional healthcare. With the advancement of smart healthcare, patient behavior may be simply analyzed. A new generation of information technologies, particularly the Internet of Things (IoT), is being utilized to transform the traditional healthcare system in a variety of ways. The Internet of Things (IoT) in healthcare is a crucial role in offering improved medical facilities to people as well as assisting doctors and hospitals. The proposed system comprises of a variety of medical equipment, such as mobile-based apps and sensors, which is useful in collecting and monitoring the medical information and health data of patient and interact to the doctor via network connected devices. This research may provide key information on the impact of smart healthcare and the Internet of Things in patient beavior and treatment. Patient data are exchanged via the Internet, where it is viewed and analyzed using machine learning algorithms. The deep belief neural network evaluates the patient's particulars from health data in order to determine the patient's exact health state. The developed system proved the average error rate of about 0.04 and ensured accuracy about 99% in analyzing the patient behavior.