My advice is to NOT act on your emotions. You will be very inclined to make snap decisions and act on them out of anger or hurt. DON'T do this. I have learned that lesson the hard way. Take your time, slow down and realize this isn't going to be over immediately. It is going to take time and you will have opertunities to make decisions, life changing decisions. Don't rush them!
You really need to take account of what you really want the outcome to be. Do you "honestly" think you cannot get past the infidelity. I used to think that way, to some point I still do. However, what if things in you marriage changed for the better tomorrow...or the next day....or a year from now? Perhaps it would change your perspective on how you feel today.
in regards to detaching, read up on that. I am still struggling really hard on what it means and how to go about, almost 3 months into my situation. You really need to get the ball rolling sooner than later in regards to this.
This forum has some extremely good advice givers and some truly caring people. I would recommend asking questions and expressing your feelings, some call it journaling. Do that right here on this page. Sare your experience and open up. The more detail you add, the more helpful support you will recieve. Don't make any real moves or decisions until you gather some feedabck. If I would have approached my own situation like this, I feel that I would undoubtedly be in a better place today.
I am sorry this is happening to you, but keep in mind something similar is happening to everyone here. You have support, and you are in charge of what is best for you.