It seems like what you might be facing nightmare , it is not unknown to have those especially if you are stressed and also few medicine may also cause this.
Next Steps
you may try helping yourself by using techniques like progressive muscle relaxation,self hypnosis, lucid dream therapy, cognitive behavior therapy etc. and if this doesn't work medicine may be taken to get relief.
Health Tips
if there are any involuntary movements associated or altered behavior noted by your peers ,kindly get a sleep study done.