Almost every medication has its own side effects. So, the squeeze technique would be preferred. Sexual therapy and psychotherapy might work as well. If you have to take medication, then certain antidepressants such as selective serotonin reuptake inhibitors (SSRIs) and tricyclic antidepressants might help you.
The most effective way to prevent yellow fever infection is an adequate vaccination.