Help I don’t know what to do!

My boyfriend’s friend just told me that he wants to have sex with me. I want to tell my boyfriend but I’m not sure ho to approach the situation. PS they’re roommates