With the economy picking up and the markets chugging along, exchange traded fund investors should begin to think about how inflation could affect their portfolios.

“The big risk that is not being factored into stocks and bonds is inflation. You can’t have central banks around the world printing money the way they are and not have the risk of inflation,” Charles Bobrinskoy, vice chairman at Ariel Investments, said in a CNBC article. “It’s not being built into stock prices or bond prices, so we think you got to protect yourself and your portfolio against inflation going forward.”

The price index for personal consumption expenditures rose 0.2% in May from April, the Wall Street Journal reports. The annual inflation rate was 1.8%, a little short of the Federal Reserve’s 2% target. Core prices, which exclude food and energy costs, rose 0.2% from April and 1.5% year-over-year. [Indexology: Rising Inflation? That’s For Time To Decide]

Dean Maki, chief U.S. economist at Barclays Capital, expects inflation to make a “steady move higher” and surpass the Fed’s 2% target by the end of the year. Consequently, Maki believes the Fed will hike rates mid-2015.

Nicholas Colas, managing director and chief market strategist at brokerage ConvergEx Group, argues that it makes “a ton of sense to e cautious” after the bond rally this year despite benchmark rates already near zero. However, he is still waiting on wage inflation to pick up before worrying about inflationary pressures.

Nevertheless, the analysts agree that the economy is slowly improving and markets could continue to strengthen.

Bobrinskoy advises investors to stick with stocks in an inflationary environment. Specifically, he points to fertilizer companies and oil stocks. Maki also points to strength in the oil sector, especially with rising volatility in the Middle East to support oil futures.

ETF investors can gain exposure to the fertilizer industry through a targeted ETF, like d Global X Fertilizers/Potash ETF (NYSEArca: SOIL), which is up 4.8% year-to-date. Additionally, broad agribusiness ETFs such as the Market Vectors Agribusiness (NYSEArca: MOO) include fertilizer producers, along with other companies involved with chemicals, equipment, agricultural products and live stock, among others.

The energy sector has also been outpacing the broader markets. The Energy Select Sector SPDR (NYSEArca: XLE) is up 14.0% year-to-date, while the iShares U.S. Energy ETF (NYSEArca: IYE) is 13.2% higher. [Oil Surges, but Energy ETF Still Attractively Valued]

For more information on inflation, visit our inflation category.

Max Chen contributed to this article.