Before purchasing shared mega millionstickets, write everyone's names, contributions, and ownership percentages. A simple written agreement minimizes misunderstandings, protects relationships, and provides clarity regarding prize distribution should the ticket become a winner in any prize category.