You can eat the egg weather it is fertile or not. Just collect them every day and enjoy.
The only way to tell if they are fertile or not is to crack one open and take a look. A fertile egg will have a small bulls eye on it. Kinda translucent white in appearance.