It is likely not ripe. Make sure when choosing a mango, to choose one that gives when you give it a gentle squeeze. Also, sniff the stalk end and it should smell sweet and ripe.