Interest rates and inflation

Hi guys, if interest rates increase would this not also cause inflation to increase? As more people will be buying the currency to invest into the country of said currency