Is the fireplace in use? If it is (and from your post it appears to be unlined), then that's a bigger problem than one loose brick. If it's not used and won't be, you can buy a small bag of mortar and relay the brick. BTW do you have a rain cap on top? Is there a damper to close off?