How to make objects collide

I am making a game, and if the two objects collide it is game over, but i cant do it.

What is the code I can try to help

This may help

but what you need to look at is the touched function, which tells you when collisions occur