It's really just a matter of feeling healed enough where you can allow yourself to be vulnerable with someone else. You may still feel feelings for your ex because they were part of your life for a long time, and that's okay. What you need to evaluate is how you feel about this new person moving forward, separately from how you feel about your ex.