Connect one end of the wire with a crocodile clip to the battery and wrap the wire tightly around the metal nail. After this connect the other end of the wire to the battery. Turn on the battery. If you move the electromagnet closer to the paper clips, it should attract them. If you disconnect the wire the paper clips fall.