Welcome to Health Care Magic.
5mg contains Amlodipine
which is a calcium channel blocker
The most common side effects of Amlodipine are edema and fatigue
The pain and swelling of feet and arms could be due to Amlodipine. That is why your doctor asked you stop Stamlo.
The edema and fatigue due to amlodipine use are self limiting and will subside in few days once you stop taking amlodipine.
Do not worry. There shall be no problem in the long run for you. As you have stopped taking it, you will be back to normal in no time.
Wish you a speedy recovery.