Give it time. It will seem less important as as time goes on. In the meantime, do things you enjoy to get your mind off of it...go out with friends, read, watch movies, exercise, etc. Try to look at it as a learning experience that will help you be more careful by using protection and discussing yours and your partner's STD statuses in the future prior to having sex.
The glass is not half empty, it's half full.