Clattering/grinding of teeth during sleep is known as Bruxism. This usually happens during REM sleep and needs to be taken care of since it may cause breaking of teeth in case they are ground too forcefully. Please consult a dentist who will give you plates to avoid injuring your teeth. Dreaming is very common and you might want to set an alarm that will help you wake up in the morning. Once your body gets used to waking up at a particular time, it will become easier for you.Psychotherapy or counseling may help you to express anger and deal with anxiety or stress. Relaxation or stress management techniques can be beneficial in reducing anxiety or stress. Orthodontic adjustment of the occlusion or bite pattern may be beneficial for some. A guard or protective dental appliance may be helpful if bruxism is severe enough to cause damage to the teeth.Bruxism is not a dangerous disorder. However, it can cause permanent damage to the teeth and uncomfortable jaw pain or ear pain and you should consult a doctor to rule any further complications.