With your guy friend!?

Soo I have a really good guy friend and I feel comfortable around him. Him and I have talked about sex before. He would also be my first. Do y’all think it is a good idea because honestly.. I have mixed emotions. I would want to do it with him but I don’t want it to ruin our friendship. I know many people who have lost it to their best friends tho!???