my htc one m8 is not recieving indian local gsm sim it asks for sprint sim wht should i do

Sounds like a locked phone to me. If you own it, I would contact Sprint and have it unlocked. Otherwise you would have to get the owner to call them to get it done.