Ex boyfriend

We were together for 2 years and we broke up about 2 weeks ago. And I had to talk to him earlier about something and I miss him. I've been missing him but now it's harder and i don't know what to do.. should I call him.?