Looking at your code I see 2 issues, the first has already been said. You have not closed your start function and the second is that the if statement you have written will check the tag, but will not emit the particle when that specific tagged object collides. It will just do it no matter what collides.
Your code should look like this. Also as previously said, make sure to have a rigidbody and collider attached to the object in question.