This would depend on the sub. Most subs you will buy from SVS, Outlaw, eD, etc. have the amp built in and you just run from your receiver to it.
If you have a DIY sub that is just a box with the driver and a pair of speaker terminals then you will need a sub amp. Ther are many choices but a very popular one would be a Behringer A2500.