Here are the sentences completed with the correct verb forms:
I am sleepy now. I wish I had gone to bed earlier yesterday.
Alice only put on weight because she did not eat too many sweets and cookies.
I failed my Maths exam. I wish I had studied harder.
I need a new mobile phone. I wish I had not wasted all the money.
I couldn't sleep well last night. I wish I had not drunk too much coffee.
Last weekend we had a big argument with my parents. If only I had not said all those words.
These jeans don't fit me. I wish I had bought the bigger size.