@fawzia How long were you in this relationship? You say you craved his attention even though he wasn’t available.. What does that mean??
Guys (and girls too) hate drama! You being clingy/needy was lots of drama. Love seeks to make the other person happy, not create stress..
5 days plus a week is not nearly enough time for him to forget or forgive the misery you caused him!!
You should do no contact for at least a month! During that time try to change the way you think about a committed relationship and what kind of behaviors affect it either negatively or positively.