Problem solving consists of using generic or ad hoc methods, in an orderly manner, for finding solutions to problems. Some of the problem-solving techniques developed and used in artificial intelligence, computer science, engineering, mathematics, medicine, etc. are related to mental problem-solving techniques studied in psychology.
One time I had a problem with my friend . I did something wrong and he started shouting what I was doing . I said why you was shouting and he stopped like me . And I didn't know what I must do .