Can I buy and sell stock on the same day?

I have a cash account with etrade and a friend told me if I bought and sold in the same day my account will get locked for violating some rule... But I did because I was losing a lot of money and my account didnt get locked, so did I slip through the cracks?
13 answers 13