The door and the

The existing gaps between the door and the wall need to be filled with mounting foam. Additionally, you should secure the door frame from damage with painting tape.