How to refresh Access token by salseforce

#1

Hi,
I am working on an ionic application, in which salesforce is used as backend.
I am fetching data from salesforce and sending data too.
I want to know that how to refresh the Access token after it gets expired.
Can anyone give me reference for it.
TIA.