Depression and libido

Hi my boyfriend has depression and we have been together for 7 years . He is having loss of libido and trouble getting hard with me . I am wondering other then medication is there anything else we could be doing to help the situation ?