I accidentally hit on my girlfriend's friend?

My Girlfriend is out of town on vacation, I went out partying with one of her friends, we danced and things got a bit heavy. I told her she was sexy and may have said something about kissing her. I was drunk and now really ashamed and embarrassed. How do I talk to the friend and my girl?
I accidentally hit on my girlfriend's friend?
Post Opinion