Struggling to achieve orgasm and don’t know what to do

I’ve been on HRT for about two years and until a month ago, this has never really been an issue. I was able to orgasm through masturbation and though sex with my now ex girlfriend. However since breaking up about a month ago, despite feeling fine and experiencing sexual attraction towards someone new, I’ve been only able to achieve orgasm once this whole month and I’m scared about how hard it is, especially if it’ll carry over to when I have sex with new people. I have viagra, but I got a splitting headache last time I used it and saw online that it doesn’t help with achieving orgasm, just with maintaining an erection. Is there something I can do to make it easier? I’m scared to not be able to orgasm when I actually have sex in the future.