I don't know what to do at this point. I lied and blocked my friend and I'm sort of regretting it
I see, but why did you lie to your friend and block him?
I was mad at him, we got into a fight over something petty and I ended up lying and blocking him. Because he went silent and wasn't responding I thought that I could get away with it.
Friends are expected to keep an open line of communication with each other. Even if you have a fight, its not okay to lie and block them. Doing so means cutting off communication with them which can cause your relationship to grow even more distant.
I didn't know that it was wrong, I thought I could just do this and like the problem would go away.
Ignoring it won't make it go away. The only way to fix a problem like this is to talk it over with your friend. Try to get in contact and have an honest discussion with them, so you can fix this.