I really made her upset, what should I do?

by not being consistent , etc I am really sorry now she always talks to my friend but never me
and when I try to have a conversation, she ignores me I understand her totally but what should I do. I really treated like **** but it wasn't on purpose yet she doesn't want to hear any of that. I know she still likes me but can't stand me at the same time, should I leave her alone?
I really made her upset, what should I do?
Post Opinion