I don’t know what to do

I was seriously talking to this boy around September and he was the best thing. I have had a lot of loss in my life so I tend to shut people out and leave them. But for the last months all I could think of was him. He’s 19 and I’m almost 17. Should I text him after the heartache I’ve caused?