Hi @chandrakathy,
Mostly the controller (receiver) is located in the housing of the ceiling fan.
Disconnect the power for the fan by removing the fuse in the power box and then access the ceiling fan housing.
Be safety aware you will be working with lethal voltage circuits! If there is no separate fuse marked for the fan then perhaps it is connected in with the lights fuse. If the fan was not working at all so that you can’t verify that it has no power connected by trying to turn it on and off after having removed the fuse, then take no chances and operate the house main power isolating switch or remove all the main household side power and light supply fuses in the power box. If in any doubt contact an electrician. It’s not worth doing it yourself, your life is worth more.
You don’t state the make and model but there are normally some screws that can be undone to access the wiring etc.
Here’s the ifixit Ceiling Fan Light Fixture Replacement guide.
The images shown at Step.2 in the guide (hover mouse over right side image) give you a rough idea where to look for the controller.
crwdns2934105:0crwdne2934105:0
crwdns2934113:0crwdne2934113:0
crwdns2915270:0crwdne2915270:0
crwdns2889612:0crwdne2889612:0
1
crwdns2944067:03crwdne2944067:0
where is the controller?
crwdns2934271:0crwdnd2934271:0 chandrakathy crwdne2934271:0
The fan stopped working despite completely working remote and fan able to respond with the main switch
crwdns2934271:0crwdnd2934271:0 Aryaan crwdne2934271:0
@aryaan
What is the make and model number of the fan?
crwdns2934271:0crwdnd2934271:0 jayeff crwdne2934271:0