Confidence

How can I be more confident when sexting and also in the bedroom? To my boyfriend I'm so shy but in my head I think all these dirty things but I'm scared to say/do them.