Ps4 trouble after connecting to online match

after i connect to a match it kicks me offline and i have to re connect my network settings i chose the wrong flag im not sure if that has something to do with it or if its something else is anyone else having this problem im on wireless connection

I’m still experiencing this problem even with local players the match will start and it shows the very beginning of the character introductions the disconnects saying error 40002. after this happens it litterally knocks down the whole wifi in the house. i know wifi is bad but i’m able to play other games just fine and its the only option i have at the moment. I would really appreciate some help on this