How can you tell which is the North Pole if it is not marked?

You can’t tell by looking. You can tell by placing a compass close to the magnet. The end of the needle that normally points toward the North Pole of the Earth would point to the South Pole of the magnet.