My arduino mega does not recognize my pc

My arduino mega does not appear in the device manager ie as if there is no connection to the pc, I turn it on and stay with the last program that complie.

Going to point you at this very helpful page first.

That way you know a little more when your 5 minute between posts is over.