Fix it first.
Canadian Paula Findlay took the ITU by storm in 2010 and 2011, winning five premier-level WTS races. Then she suffered a hip injury. Findlay was never given time to heal completely—a decision veteran teammate Simon Whitfield blasted her coaches for at the Games. She started the Olympic triathlon but finished tearfully in last place.
Takeaway: Although some injuries can heal while training, many require more drastic measures. If you have a persistent injury—even during the lead-up to a big race—get it diagnosed properly, then take the time to fully heal.