If you buy and sell the same security on the same day, it counts as a day trade. As far as being considered a day trader goes, it’s a little more nuanced. It’s not an issue if you do a day trade or two, what matters is if you do it frequently enough to be considered a pattern day trader
comments
https://www.investopedia.com/terms/p/patterndaytrader.asp