Confidence is earned, it is proven on a daily basis, it takes time. Give yourself time. You have to put quality into it too because it's easy to lose. If you have been deceived in the past, you know exactly what I mean. Actions must follow words. It's just over time that trust is built.
Trust is also nourished by respect, it needs respect to exist. It doesn't necessarily mean, however, that the other person disrespects you because you don't trust them. It simply means that you have become accustomed to not respecting yourself and that, consequently, you frequently experience betrayal. Then you can't stand it. You believe that if you don't trust the other person, you will have less pain. In fact, it will hurt less when you take responsibility for your betrayal wound.
Let's take a common example. We often hear stories of scams on dating applications. People start by flattering you and sometimes talk to you for a long, long time in order to establish their trusting relationship. Then, all of a sudden, something happens, they need money. Now your trust is going to be put to the test. Are you going to trust them? For a lot of people, the answer is going to be yes. And then they regretted it. Why? Because they didn't respect themselves despite the doubt that was there. Intuition, having had something here, they were afraid to think for bad people, selfish people, heartless people, so they said yes. No wonder trust is so hard to earn.
Trusting is first of all trusting yourself and respecting yourself in your freedoms.