eggs

How safe is it to use cooked egg in bento. I'd like to try a frittata recipe but I'm worried it could spoil. Also what are some guidelines for using egg safely and if it can be properly reheating egg. Thanks for the help : )