Hey garantee,
Needless to say, some form of selfishness is necessary for your survival. On the other hand, disregarding the needs and feelings of others is ultimately both self-defeating and imprudent.
If I were you I would do some
critical thinking on those situations where others called you selfish and determine:
a) what it was that made it a selfish act
b) how you could have acted differently or in the best interests of everyone.
c) how you can learn from the situation
All the best!