listen to some soft music
do some exercise:running、playing bedmintan、areobics and etc.
transfer your attention to other things
raise a pet(such as dog、cat、rabbit and etc.)
talk to your friends and share your feelings
don't always stay up late
if you still can't solve it,ask for professional psychologist for help