Go inside the window. Shut the window so the air conditioner is snug on top of it. Is this true? Attach the accordion panels to the window frame with a drill and sheet metal screws.
Let's Get It Fixed!
HomeX virtual experts will assess your issue (for free!) and can resolve simple problems.