Hi there are some medications like
Pioglitazone which can add to weight if continued for long time .Presently what has been prescribed to you is OK and does not lead to weight gain.Diabetes itself leads to
Erectile Dysfunction and a good control can help .Medicine as asked by you can help if there is no Coronary Artery Disease. Do not take it without consulting your doctor .Also
Cholesterol reduction is going to be equally helpful if the levels are high because
dyslipidemia in Diabetes can unfavourably affect the erectile function.