Sex During the First Trimester

Trevor
So my wife was experience abdominal pain last night so we went to the hospital and long story short the doctor told us no sex during the first trimester but other doctors have said that sex is ok the entire pregnancy what are you thought and what can you tell me about this topic