Clogging due to heat creep: buy new cooler or new hotend?
To fight heat creep, you must understand why this is happening. 

Heat creeps up the hotend assembly as a result of incorrect settings or hardware setup causing the filament to prematurely soften and swell.

It is important to reduce the heat travelling upwards in the first place rather than fighting the result. Too high print temperatures are an obvious culprit, but also print speed and retraction length are important. These need to be dialed in in perfect harmony.

Even when you buy a complete new hotend or parts for the hotend, incorrect settings may lead to the same results. It is known that all-metal hotends (due to the lacking of a thermal barrier PTFE liner in the heat break shielding the filament of excessive heat input) are more susceptible to encounter heat creep and should generally be avoided by less experienced makers. 

Whether or not you should buy new parts depends on the current extruder, your ability to fix it (and the willingness to put in more effort to try) and the knowledge to install new parts and find the correct settings for optimal printing. There is no unambiguous answer to this question.