Don't worry about it? If you worry about it too much, you are probably going to get into another accident. Shit happens, it wasn't your fault from how you made it sound. I've had some near misses, you're going to be shaken up for awhile but you'll readjust eventually. Take it as a learning experience, you'll know what to do next time in that situation.