Rabbits that are uncomfortable or nervous around people, can take some time to build a trusting relationship with. It can take a lot of patience and perseverance. To build that relationship, you essentially need to go about a similar process as when rabbits are bonded together with each other. This entails sitting on the floor with them in a smaller space such as a bathroom or xpen, so they won't just run away and avoid being near you, and then allowing them the time they need to learn to feel safe with your presence and approach you.
When they do, you don't reach out, try and pet, or anything like that at first. You essentially ignore them and go about reading or whatever it is you're doing while sitting there with them. You're allowing them to learn to not feel any threat from you. Rabbits are curious, they will eventually want to explore around you, though this can take some time for some rabbits.
Once they are completely comfortable approaching you and being near you, then gradually you can slowly offer your hand for them to smell. And when they're comfortable with that you can try a little finger 'scritch' on the forehead. If they're accepting of that then you can gradually move onto gentle head rubs. Building a trusting relationship with rabbits is a process, and one that can't be rushed. It all has to be done on their terms, in their time, but so worth it in the end when you've won that trust.
For times when you need to move them out of their area, like to go to the vet, it's best to train them with food, to go into a pet carrier so they never associate you with getting grabbed or picked up. Also, if possible, it would be best to have nail trims done at the vets while you are trying to build this relationship with them, so they don't associate you with something that they don't like. Things that can damage this trust you're trying to build, and so want to avoid doing, are picking them up at all, nail trims, even grooming may need to be put on hold(provided it doesn't endanger their health), and no walking after or 'chasing' them. Basically anything that puts you as a 'predator' out to get them.
And then spending as much time quietly sitting with them as you can. This is what will eventually enable a bond to be formed with them.
https://rabbitsindoors.weebly.com/bonding-with-your-bunny.html