I want to use a macro in another program chat but it doesn't work

There is not nearly enough information in this question for anyone to have much of a hope of answering it usefully.

Read Searching For Answers and Using the Keyboard Maestro Forum and then post enough information so that we can help you.

Try very hard to avoid “it does not work” because that is very vague. What does not work? How does it not work? What have you tried and how did it not work.

If it is a macro not firing, also read Macros Not Firing and maybe other parts of the FAQ and Torubleshooting pages on the wiki.