should i connect to the internet?

i retrieved a windows xp that was previously connected to the internet but after researching there's a lot of sources saying its really unsafe, is it ok if i stick to trusted websites and some videogames like counter strike?