gaming Wi-Fi disconnects

Wi-Fi disconnects whenever I start a game

I bought a prebuilt gaming PC online, but I'm having a serious connection problem. Whenever I launch games such as Roblox, Overwatch, or Fortnite, the Wi-Fi disconnects completely…