Police saw a woman drive her car into a gate post twice after they were alerted to a motorist who was slurring her speech.
Beata Lyzwa-Ubysz, 39, of Cornwall Close, Grantham, admitted to being unfit to drive while under the influence of drink or drugs on March 5.
Prosecuting, Daniel Pietryka said Lyzwa-Ubysz was stopped by police at her home after it was reported she had been to a shop in Grantham.
Her speech was slurred and she had got into her car.
When police went to her address they saw her car hit a gate post twice on her driveway. Officers said they smelled alcohol on her breath.
The court was told she was unable to take a breath test because she was unable to blow into the tube and just blew into the air.
Defending, Chris Pye-Smith said Lyzwa-Ubysz had not drunk any alcohol.
He said she was prescribed medication which had affected her very badly.
She had taken some medication into court and Mr Pye-Smith said it did have a smell about it, although it was not the same medication she had taken on the day.
The court heard that the defendant needed her car for work as she was a community health worker.
She had effectively been suspended after telling her bosses about the court case.
Mr Pye-Smith said his client had moved to the UK in 2005 and had had a clean driving licence since 1998.
He said a ban would have a very serious impact on her, not only because of her work, but also because she had a sister with cancer who she took to appointments and a daughter who has health issues.
The court heard that Lyzwa-Ubysz was diagnosed with acute stress in 2012 and prescribed medication.
On the day in question she took a sleeping pill, not expecting to be going to work, but was then called out. The pill she took made her drowsy and affected her coordination.
Magistrates banned her for 12 months. She was also fined £110 with £85 costs and a £20 victim surcharge.