How to get motivate yourself when depressed

Firstly do not get worried about it. It causes more problems than the depression. Accept and allow yourself to say it is okay to get depressed and it just one more feeling like happiness and anger.