Answer: I appreciate you and your question. Just wanted to say thanks for you reaching out and I may not know you but you seem like a good human being.
I'm guessing you mean in Photoshop so you would 1. click the ruler tool 2. drag it along the line you know is straight 3. on the options bar, click straighten