Make sure you leave at least 25cm of space between the top of the microwave and the surface immediately above it, and never place anything on top of the microwave while it is in operation.

Where You Should Never Put the Microwave
Just as there are ideal places, there are also places where you should avoid placing the microwave, not only for efficiency reasons but, as we were saying, also for reasons related to your safety: