Reset when receives an IR command

Hello !

Well, I am actually having troubles with my Arduino, and i think that it is about programming. As I don't know where to post this, I hope that it is the right place.

I am trying to make a home-automation device. To do this, I use a IR receiver and a LCD(at the moment). What is going on is that as soon as the program receives some ir signals from the remote, it reset itsellf automatically. And the same thing happens after a certain amount of time. Have you ever seen something like that ? Do you know what I am doing wrong ?

Thanks for your help,
Seba-1511
P.S: For more information I can post my code if you want.

P.S: For more information I can post my code if you want.

Only if you really want help.

Are you using interrupts?