Probably start by reading this:
Then if you’re still having problems post your code (correctly formatted with triple backticks of course).
Pete.