Bay Ridge man shoots himself in the head