Weird geometry appears when I switch to object mode. How can I make it dissapear?
Try doing an ALT-H (unhide) in Edit mode. It's possible that you hid some geometry while you were in Edit mode and it showed up in Object mode.