Hello @kimtan20082002
You can see wild pokemons around you. Talk to them and they will start fighting to you, then log out and log in again, you will at a checkpoint after login.
There will be an NPC names Exit Guide, talk to him and he will let you exit.
Hope this solve your problem,
I'm waiting forward to your reply.
Regards,
Princekashyap