Desire itself can never be justified unless it is approved by pure religion which is the message of The Creator, Allah, to make our life on the right path. Unguided desires can lead to disastrous results. The examples of such unguided and wrong desires are so many. There are people who have desire for animals etc. This means that desire itself can never be justified unless it is approved by true religion.
Such desires need to be controlled by the intellect which guided by the word of Allah (SWT). The person should always remember Allah and seek His help in tackling evil desires.
Repeating Estighfaar and Salawaat is very useful.