Preflop is fine. Loose and something I wouldn't make a habit of, but fine.

On the flop, all-in. If you lose to a set say 'nh' and rebuy.