Help!

Ok, I Accept your advice, but you have any idea to prevent this happening again?