A man who was ejected from a train at St Annes station went into the ticket office and caused trouble.
Paul Gladden, who was carrying a whisky bottle, shouted at staff and damaged a heater.
Unemployed Gladden, 34, of North Church Road, Fleetwood, pleaded guilty to being drunk and disorderly, causing damage, possessing a knife and three offences of breaching bail.
Blackpool magistrates were told that on January 2, Gladden was ejected from a train after he could not produce a ticket. He was drunk and went into the station booking office.
When he was told by staff he was not fit to travel he punched a heater.
In a separate incident, on October 31 police found Gladden in an alley off Bold Street, Fleetwood, with a small knife in his pocket.
Gladden told the court he had now seen the error of his ways and stopped drinking.
He was sentenced to a nine weeks tagged curfew, from 9pm to 6am, and ordered to pay £100 compensation.