recently bought a 94' 520i all in great order bar a tiny fault.

when headlamps are on if i attempt to use the indicators this can turn on main beam. also the main beam doesnt stay on but i can flash with it.

i have had three e34s before but this is the 1st electrical fault ive had. has anyone any ideas where i should start to repair this?