For a creative block, I'd say there are two directions: changing the environment or taking a break, or brainstorming without putting too much pressure on yourself, just allowing the thoughts to flow. It can also help to ask someone for help.
As for motivation, it depends on the reasons of the issue. For example, goals that are too big can be overwhelming, so it's better to set smaller, more achievable ones.