In fact, people get neck problems due to something such as sports or woke and Wrong sleep habits. In this paper an expert
system was designed to help users to correctly diagnose neck problems world (muscle spasm, Muscle aches, Meningitis, herniated cervical disc, Fibromyalgia, Cervical spondylosis, Trigger points) with some information about the disease and self-care. Java language was used to design and implement this expert system