Blender 4.0 acting strange

When I try to make a mesh and do like a rotate in object mode the mesh disrepair, but when it is in edit mode you can see the mesh or the object.

That is in Object mode can do nothing because I cannot see the object.

And this is in edit mode. Can anyone please tell me how to fix this issue like the one it won’t rotate the mesh or the object.

Thanks 🤔