How do I stop being so needy after learning that she has cheated on me?

How do I stop being so needy after learning that she has cheated on me?