I'm so disappointed in myself and keep beating myself up

So I'm still a teenager (seventeen) and I think I did something stupid. I had the chance to have sex with my crush (imma virgin) but I pussed out while we were rolling around in his bed. I did it cause I felt self conscience about what he would think of me and I can't let go of it. What's wrong with me?