Day traders can avoid good faith and freeriding violations by using a margin account, which allows for trading with borrowed funds, or by ensuring they have sufficient settled funds in their cash accounts to cover all purchases. Trading only with settled funds and understanding the settlement time frames can prevent such violations.