How to earn back trust?

Is it even possible?

Me and my boyfriend had a massive argument and at one point he said he didn’t trust me because I’d gone through his phone. And he feels like he has no privacy.

But I did it because it I knew he was smoking again and I proved it.

Wrong of me. I know. And I accept that and I apologised.

But i don’t know how to fix things.