This is a warning that's written on signs. It means that you can't go into a place.
Usually, "enter" requires an object:
I saw them enter the room.
But signs are written to leave out as many words as possible. In this case, "Do not enter" means "Do not enter (this door, this area, etc.)."