Keep getting errors when trying to play online

Over the past few days I’ve been having trouble playing halo 5 online and I have no clue why… I get disconnected from almost every game I try to play and I get like every error you can possibly get… Here are some of the errors I’ve gotten.

Attention
There was a problem with the Xbox Live Party Service

One will say someone has left my fireteam when I’m the only one in it so I don’t get that.

One will say couldn’t connect to the halo 5 guardians lobby server.

And I will get kicked to the menu and it will say you have been disconnected from the local service. Then I will start up another game get kicked to the menu and it will say the same thing. I’m sure there are more errors and stuff I can’t remember but I just would like to know why this is happening and how to fix it.