Steps For What To Do When The Laptop Hangs

I have the Hp laptop which I purchased two years ago. It has four GB ram and one TB hard disc. Recently I installed Catia software while running it on the laptop it hangs too much. Tell me what to do when the laptop hangs because before installation of the software, it hanged rarely and now it hangs very much.
