My computer programs closes automatically

I am having a problem with my computer. Whenever I open a certain program, it will remain open for a few seconds and then close automatically.
To make sure that the program or application really opens, I open the task manager to check if the program if really opening. I saw the process appear and disappear. Is this caused by a Trojan or any kind or virus? I have really no idea what’s going on. Please help me about this. Thanks.
