Sex??? And pregnancy

Is it safe to have sex everyday while pregnant ?? And if not how many times should i have sex like once a week or what?