Confessed

I confessed to my boyfriend that while we were broken up I had sex with another guy but I left out one part I told him all the other details of who it was and how it happened etc etc but I didn't tell him that the guy I had sex with works in the building next to mine instead i told him that my homegirl hooked us up which was a lie should I tell him or leave that detail out and leave the entire situation alone??? Or tell her to lie for me if he asks her?? Which I really don't know if she would cause she sorta be spiteful sometimes at least she seems like it smh ?? But  I mean at the time we was both single and mind you he had went and had sex with his babymama and he said he got head from like 3 girls way before I even thought about having sex with anybody else and we was only broken up for 7 weeks and the reason why we broke up y'all was cause he had put his hands on me <domestically > besides that we back together and we both are working on making changes and fixing our issues just need advice no harsh comments please thanks 😘😊