did they have their own army?
Yes, every male commoner aged twenty-three was liable for conscription into the military.
Han dynasty
At the beginning of the Han dynasty, every male commoner aged twenty-three was liable for conscription into the military. The minimum age for the military draft was reduced to twenty after Emperor Zhao's (r. 87–74 BC) reign. Conscripted soldiers underwent one year of training and one year of service as non-professional soldiers. The year of training was served in one of three branches of the armed forces: infantry, cavalry or navy. The year of active service was served either on the frontier, in a king's court or under the Minister of the Guards in the capital. A small professional (paid) standing army was stationed near the capital.
During the Eastern Han, conscription could be avoided if one paid a commutable tax. The Eastern Han court favored the recruitment of a volunteer army. The volunteer army comprised the Southern Army ("Nanjun" 南軍), while the standing army stationed in and near the capital was the Northern Army ("Beijun" 北軍). Led by Colonels ("Xiaowei" 校尉), the Northern Army 
who was valued in han society under the philosophy of confucianism Emperor Gaozu of Han. can you mention few names of people of the royal family? Emperor Zhao (r. 87–74 BCE) , Emperor Yuan (r. 48–33 BCE)  Emperor Cheng (33–7 BCE) ,  Emperor He (r. 88–105 CE) ,  Emperor Shun (r. 125–144 CE) , Emperor Ling (r. 168–189 CE). was there slavery in this dynasty? Yes, Slaves comprised roughly 1% of the population. who was the founder of this dynasty? Liu Bang. what religion did people follow in this dynasty? They formed large hierarchical religious societies called the Way of the Five Pecks of Rice.
wiki:11581984
Han dynasty [SEP] Military
At the beginning of the Han dynasty, every male commoner aged twenty-three was liable for conscription into the military. The minimum age for the military draft was reduced to twenty after Emperor Zhao's (r. 87–74 BC) reign. Conscripted soldiers underwent one year of training and one year of service as non-professional soldiers. The year of training was served in one of three branches of the armed forces: infantry, cavalry or navy. The year of active service was served either on the frontier, in a king's court or under the Minister of the Guards in the capital. A small professional (paid) standing army was stationed near the capital.