Mac Issue with loading Drives

I have an iMac running the latest version of high sierra and when I try to connect any drive it says system software from B drive was blocked. When I click the allow box it does nothing.