Prevent arduino from drawing power from digital pins?

Solved. Im using MCP2025 transciever ic to convert ibus to ttl. That chip has ENABLE pin. I had it connected directly to 5v. Now I had connected it to digital output of arduino.