Diverticulitis

I was in the hospital for diverticulitis and have been on antibiotics for 6 1/2 days is it safe to have sex ?