How do I use cheats and idk what my version is on my or

I can’t use cheats and idk my omega ruby version