Different diagnostic tests can help you in checking for your erectile dysfunction. Some of them may include:
Physical examination
Urine analysis
Ultrasound
Blood tests
Psychological testing