How do I make it straight?

Left it in my cabinet for close to a year now

Also why did it became like this?