It's quite difficult to help based on the amount of info given, but you can try using mcstacker.net, which is a very versatile command generator and can certainly help you.