Crush advice

How do I get over the fear of rejection from the guy I have a thing for. I want to tell him how I feel about him, but i'm terrified that he's going to reject me and if he does I don't want to lose the friendship I have with him. What do I do?