I ran a red light at night because I wasn't paying attention enough
Why weren't you paying attention to the red light?
I couldn't sleep properly last night and I was too tired to pay attention.
Get enough rest before you get behind the wheel and be alert to your surroundings, especially traffic signals.  If a person falls asleep while driving, it could cause an injury or death.
I'm glad I'm fine.
I'm glad you are too but you could've hurt someone. Be careful from now on.