My app is hanging

Hi. When I try to play my game app in mit app inventor, it is hanging after clicking a few buttons. What can I do to fix it?

Please give your blocks

may be this happened due to lots of assets imgs. or may be your app have so many screen.

I only use about 5 screens. What do you mean about the asset images?

Images in your media
For that matter, any file uploaded to your media folder.

5 screens is not "only" 5 screens.
If you fail to correctly switch between screen then it will sooner or later crash the app. You need to close the previous screen before opening a new screen.
Also see this before using multiple screens: