Welcome to Wolfram Community!
Please make sure you know the rules: https://wolfr.am/READ-1ST
Please provide formatted sample code that demonstrates the problem and your trials. This will make it easier for other members to help you.
The rules above explain several methods to include your code.