Absolutely. Our psychological state is critically important for being able to achieve and maintain erections. If we're worried about getting an erection or being able to maintain it, or if we have anxiety or feel stressed or tired, these factors can lead to difficulties in getting and maintaining an erection. These circumstances are treatable but often require some work to train our thought patterns and readapt our sexual approach. Working with professionals such as psychiatrists or psychologists with skill sets in this area can be helpful; using techniques such as cognitive behavioural therapy (CBT) or mindfulness therapy can also be helpful. For some individuals using medications such as phosphodiesterase-5 (PDE-5) inhibitors such as sildenafil, tadalafil or vardenafil, can help make it easier to get and maintain an erection. Eventually, men can regain their confidence and slowly wean off these medications.