Sex before check up?

Would it be ok to have sex 1 week before my post partum check up? And if I'm still bleeding a little bit?