A man accidentally shot himself early Monday in the North Side Rogers Park neighborhood.

The 20-year-old was handling a handgun at 12:51 a.m. in the 7500 block of North Ashland when it discharged, striking him in the right foot, according to Chicago Police.

He took himself to Saint Francis Hospital in Evanston, where his condition was stabilized, police said.