Um... yes. If it's his of course. That's not something that you should hold to yourself. He does have a right to know if you are having his child. Speak with him face-to-face and let him know that you are pregnant and you two need to plan your future accordingly for the new child.