How we solve 'gcc' is not recognized

sir mene gcc compiler or visual studio b install kr liya chk b kr liya tha command prompt m ja k bt code run tym m error ati h gcc is not recognized as internal or external command, operable program or batch files
.sir kya kru
sb kuch thik likha h vese hi kiya jese apne btaya tha
plz help me sir