You may have overcooked your eggs. Pull the frittata out of the oven just when the eggs are set. As it cools it will cook a bit more. This will prevent overcooking and falling apart.