penis infection

hello everyone , sorry for my bad spelling i am french , but i have a really urgent question . my dog whas a penis infection after many visit at the vet and lots of pills that didint work i cannot afford it anymore but the problem is still theyre. he dosent have any cancer or other serious willnes ,no fever or pain, eats and drinks fine, the penis area under the skin is very red and big , he ejaculates for no reason and some times its blood , liking it constantly , is theyre any home remedy i can do for my big boy ? please help me ?