Early pregnancy

Is it ok to have sex in early pregnancy , I mean the time we don't even know we are pregnant ?