Connection Issues

I’m having an issue playing. I can load into servers and play the game and my friend that I play with says that it says “welcome (my name)” but then when I am in on, my screen says “0/10 players” and “ping-?” at the top and my friend cannot see my gamer tag. Any tips would be great! Thanks!