How do I tell him??

I’ve been dating this guy for almost 2 months now and he doesn’t know it but I was a virgin before I met him - I lied about it but now I feel guilty and don’t know if I should tell him he was my first / how to even go about it. Advice?