Co-Sleeping with Kids: How to Have Sex?

My kids are still sleeping with me. My sexual life with my husband has been affected as they are always in our bedroom.