Noob trying to do basic rotation and hovering

I’m trying to begin to animate and do not know where to start. I want to make a pyramid that is hovering ominously over ground if a rotation on a loop. Also I have made the pyramid I just need to animate it.