To set up a node you have to download special software, a node client, and download a copy of the whole blockchain. Every full node in the network has a copy, that's the rule. After setting it up, depending on the algorithm, you can start mining or staking, if you have sufficient hash power or enough tokens.