It depends on the program. "Normal" programs that interact with a user, like notepad or powershell, cannot run as a service. They do not have the entry points needed to interact with the Windows service control manager. You would need to use a service executable like srvany from the Windows resource kt or use the free NSSM tool which can run as a service and launch a "normal" program.
If the program was designed as a service, then you need to figure out what it's doing. Typically, you would contact the software developer or support team and ask them how to troubleshoot the program. Usually developers add some logging functionality to their code where they write events to files or to an event log. The application and system event logs are a good place to start to look for errors.