Recognizing notes is a capacity you basically have to be born with
You can reliably train yourself to recognize intervals (distance between notes) and chord types ("flavor" of multiple notes occuring at once) though and there are trainers for this. Ear training / interval training would be the terms to search for.