It also depends on your goals, but as long as you have time there's always hope. You're Muslim, right? You're going to have to lay low for a while, but do revoke every non-city holding in your county to give yourself a bigger army. Also try to make alliances with powerful nearby rulers to give yourself an edge in any wars you fight. I can't give more specific advice without knowing more details about the current situation, but that should be a start.