Why does sex hurt!?

So I’m 20w4days and every time me and my husband has sex it hurts and has for weeks! It feels like a sharp knife till he is all the way in then goes away. But after word it just feels like a knife still!