Is sex ok?

Ok this is my first pregnancy and I'm really nervous as I'm sure most are. My husband and I had sex on Thursday. Friday morning there was a couple red spots when I wiped. Then nothing the rest of the day. That night brown discharge started when I wiped. I have had that now for 5 days. No cramps just brown stuff. Anyway my question is is sex ok? I've been putting my husband off and feel kinda bad.