Can I have sex when I'm newly pregnant?

Is it ok to have sex? I don't know all the abbreviations, but I am a week late and got a positive on my home test but I'm a little crampy and had the smallest of pink spotting...am I putting it in danger if we have sex? Sorry if this is a dumb question!