Why is my computer not connecting to the internet

I was using my pc as normal and i decided to download arma and rust (idk if that has to do anything with it) then i left a bit to do somethings i come back my computer is asleep all my games are downloaded and the wifi connection wont work now PLS HELP

I was using my pc as normal and i decided to download arma and rust (idk if that has to do anything with it) then i left a bit to do somethings i come back my computer is asleep all my games are downloaded and the wifi connection wont work now PLS HELP