I've been lying to my boyfriend

My boyfriend and I are 16 we had sex for the first time around 3 months ago. He told me not to tell anyone but I've told one of my really close guy friends cause I was really struggle emotionally for a while there. I'm feeling incredibly guilty that I'm lying to him cause he asked me if I told anyone and I said no. What should I do I need advice please no hate.