for some reason...

when i have my tail lights on and step on the brake, the right tail light goes out and the left brake light lights up...

and when i have my tail lights off and step on the brake, the brake lights seem to work fine...

where can i get this checked? will it cost alot? thanks...