A circuit would be helpful.
The rise/fall time of an arduino output is <5nS, so I don't think that's the problem.
Allan