the Constitution does not require electors to vote for the candidate chosen by their state's popular vote, though some states do.
Its extremely rare that it happens, they mostly definitely will be fined, disqualified, replaced or even be prosecuted by that state.