I want sex but .....

I have a 2yr old and she never wants to sleep in her own bed and me and my husband want to have sex but we aren't able to cause she sleeps with us 😣 does anyone have any suggestions or even have this issue besides me? Help me please 😔