An Accrington woman has been jailed after she threw potatoes and sprayed aerosol cans at paramedics who were helping her.