Indirect inguinal hernia develop due to failure of embryonic closure of the internal inguinal ring. It is most common type of hernia. This type of hernia can be present at birth. Indirect inguinal hernia is not directly related with erectile dysfunction but it causes pain. Pain any where in body can divert your concentration from the erection and hence can cause some erectile problems.