How to handle this?

My boyfriend of 2 years broke up with me 1 week before my 21 birthday he didn't give me any reason except saying he loves me he even ask if I could over the weekend to have sex with him I feel devastated rn and I don't want my family to know what happen cause they all pretty hype about my birthday coming but I don't think I can handle what am feeling rn
How to handle this?
Post Opinion