Wow, so much information! Thanks so much for that @pete_95973. In hindsight, I came to the conclusion that I should have picked up on his final bet and folded but I had already made the decision that I'd had him beat without taking that bet into consideration. I hadn't even considered the other tips which is something I'll be keeping in mind in the future.
The villain was playing very loosely, bluffed and bullied a lot. This should have alerted me that it's very possible he had a rubbish hand and could have had the 6, but I was convinced that even he wouldn't have called the preflop with that hand. After the flop, at best, I assumed he had a low pair and that I'd have him beat especially since he checked on the turn.
My bet on the flop was to insinuate that I was either going for a straight or flush draw (which is why I checked on the turn since it missed). Because he didn't bet when he hit trips, he threw me off which is why I never considered he had the 6.
If I had of raised higher on the preflop, It's likely he would have folded. I have no idea why he called on the flop as he had the lowest pair, so I guess this risk paid off this time but he was very lucky.
I'm at the stage now where I'm learning all of the more technical stuff like pot odds and just need to put it all to practice. The hard thing that I've noticed is that most people (on prominence poker and especially the lower the rankings) don't take any of this into consideration (like the example above haha) so it can be difficult to get a read on what to do.
Thanks again for your advice on this. As you said, there were several other things I should have done which may have resulted in a different outcome and at least these are some more things to take into consideration when playing to help improve.