This should tie the end of the project off permanently and effectively, creating a solid knot.

Summary:
Pull the piece of yarn sticking out of your project taut.