Hey.. how to make spawn protection?

How to put effect at spawn? when player spawn to effect start..

Thanks.!