This should solve most of your questions
https://gbatemp.net/threads/guide-community-noob-guide-to-wii-u-hacking.451297/
However, try to refrain from buying a used wii u as it may be 'bricked' where someone may have failed to install hacks and nearly unusable.
-Try to get the seller of the wii u...