I tried to pop a pimple that was not ready now the whole pimple and surrounding area is swollen and red and the skin has come off what shall I do?

Abscess? It sounds like you may have developed an abscess in the area of the pimple. The best treatment for this is to have it drained. Most urgent care clinics can take care of this, as well as primary care offices.