How to make a plane that has been deformed straight?
Try scaling with a value of 0 on an axis, that will straighten it for you.

Maybe try all three axis and see which one will fix it  (S, X, 0, Enter ), also try the Z and Y as well .