Spawn is a hellish area where nothing makes any sense and you first start the game. It extends 25k blocks in every direction. You can't teleport to someone while you are in the region.
How to escape:
- From your spawn point go try to go about 1k in one direction from 0,0
- After getting few hundred or thousand blocks in OW, try to find a nether portal
- In the nether go to one of the four main highways
- Escape the spawn on a highway
- Make sure to set a bed spawn when you find a place where its decently out !