The details are in the documentation.
Here is a typical way to do it.
You start by getting the printer to work over USB and install all the drivers and support software.
Later, you can setup the printer to work in wireless. You will need a good wireless adapter to find the signal.
Some wireless printers require you to use a wireless router to get connected.