Is this cheating?

Me and my boyfriend have been dating for a month now and when we were talking and trying to  figure out what we were I got really drunk one night and had sex with someone else. Then a couple weeks after we started dating I can't stop thinking about it and I need help figuring out if that was me cheating.