I used to allow things to get to me to, but I realized that unless you know me, and know the situation, then why let it bother me. Also do you value that opinion? Does the opinion come out of knowing you, and out of understanding your situation, or does it come out of having a glimpse in a situation that they really know nothing about? If you are allowing someone who knows nothing about you get you to the point of not sleeping, then your ex must really get to you. Have you thought about seeking help? I did that and have read some good books as well about how to deal with a lot of the stuff thats going on and it has helped. Maybe it would help you as well?