My boyfriend tried to kill himself

Rayne
Hello everyone, Im new to this whole this whole posting thing so please bear with me...
Anyways my boyfriend and I are 21 and in love with each other, however we've had our share of problems. We just broke up a few days ago before because I found out 3 days ago that he was more or less sexting another girl almost a month ago. I couldn't handle it. For the past three weeks he's turn around completely it's like he was a whole new man. No arguements, no cussing, just love. But once again when I found out, (the girl sent me screenshots of the messages via social media) I just couldn't take it. This morning I went to his house, and I found him lying face down with an empty pill bottle in his hand and an empty bottle of peroxide. I called 911 and he's fine now and in a hospital. How do I help him? What do I say to him?? When I found him in the floor I knew I couldn't live without him. I knew I don't want to spend another day of my life without him. I know I should have done more before it got to that point. I just don't know what to do now. Please help if any way possible