Here are some steps you can take to get your friend back:
1. Change your behavior: If you did something that hurt your friend, it's important to change your behavior so that it doesn't happen again. This shows your friend that you're serious about making things right.
2. Apologize: A sincere apology can go a long way in repairing a friendship. Be sure to take responsibility for your actions and express how sorry you are for what you did.
3. Listen to your friend's side: It's important to hear your friend out and understand their perspective. This can help you avoid making the same mistake in the future.
4. Do something that confirms you want your friend back: This could be anything from sending them a thoughtful text message to planning a fun outing together.
5. Be patient: Rebuilding a friendship takes time, so be patient and don't expect things to go back to normal overnight.
I hope this helps! Let me know if there's anything else I can do for you.