If so do you know anyway on how to get it back
I think loss of attraction can happen to lots of people! I think that is something that happens to everyone in relationships from time to time. This experience is not necessarily the problem, just like intrusive thoughts aren't necessarily the problem in OCD - it's the misinterpretation that somehow these experiences or these "losses" are significant somehow. Ie., that it will last forever, that it's your responsibility to fix it, that that means something about you or your relationship if you have lost the attraction, etc. OCD may then make you feel this sense of urgency that you have to fix it now or else something bad will happen so you feel the need to do rituals. If this sounds like what it is that you're struggling with, try to let those questions be there without answerig and continue interacting in your relationship as you normally would. It will feel like you need to figure this out but I would encourage you to resist the ritual and try to resist answering OCDs questions. Best of luck to you!