help software

hello, I would like to know, how to create macros to use with mouse, and how to set them.
I am currently using a scimitar rbg pro corsair with 16 side keys that I use to play wow.
in practice use side key 1 for macro 1 single target, and key 2 for macro aoe .
I have only several doubts, I often see written that for macros we use values of specific “ms”, but I do not know how to set them and what they mean. could someone help me?