Leave, if you're unhappy.
Don't hurt yourself over someone that simply doesn't treat you right. Don't stay in a relationship/friendship when all you do is cry yourself to sleep. Stop letting the other person point out your mistakes and blame everything on you. You deserve so much better, someone that understands you. Someone that accepts you and your mistakes and is patient with you through everything. Someone that truly loves you and shows you that.