This has mainly been a problem on my PC, but it's starting to become a problem on my PS4 whenever I'm playing. Recently my WiFi at home has been acting weird only in my room, nowhere else in the house, and normally it isn't like that. I can't go 30 minutes without resetting the internet on my PC, or just constantly dealing with lag while playing Apex Legends wit da bois. Now I'm not really experienced with stuff like this so I am asking for some help, it would be awesome to know what is also causing this, but I would also want to know how to fix it so that if something like this happens again I know what to do instead of losing my shit.
EDIT: I would like to note that my PC has a WiFi adapter, not sure if that will drastically change answers or not.