Whether it’s due to spending too much or an unexpected expense, it’s stressful to realize that you are out of money and still have several days or even weeks until you get paid again. Here’s what to do if you come up short. You will want to take measures to cut back on the amount you spend at the grocery store. Try to create meals from the food you already have in your pantry. Also, bring your lunch from home to work. You should also think about the difference between necessities and luxuries. If it is a luxury, then you need to skip it for the rest of the month. You may also consider cutting back on items that you would normally consider a necessity. This change can make a big difference in how long it takes you to recover from a financial mistake. Try taking up a temporary side gig, like driving for Uber or delivering food. You may also be able to get part-time work from friends and family cleaning houses, doing yard work, or running errands. Consider selling items you have on Craigslist or other resale sites. Extra furniture that you don’t use or want, clothing, shoes, and even jewelry can be good items to sell to make some extra cash. An alternative to using a credit card is to call your credit card company or student loan company and request a temporary forbearance or delay of payment due dates until you’re back in the black. Many companies will do this if it’s not a regular occurrence. Remember: if you use your credit card to help bridge the gap, you should also have a clear plan on how you will pay the debt off in the next month or two. If unexpected expenses like a car repair keep throwing you off, an emergency fund should solve your problem. An emergency fund allows you to cover the expense without affecting the rest of your budget. If you find yourself blowing your budget on clothing, eating out, and other unnecessary things, you need to consider whether you have spending issues you need to address. You also need to decide if your budget is actually working. Often people who struggle this way do not have a budget at all. You can also look for new ways to save each month to cut down on your overall expenses. The first thing you need to consider is if your budget is realistic. For example, if your budget line item for groceries is $100/week and you are consistently spending $150, you need to adjust it. To find out where your budget needs to be adjusted, you’ll need to track your expenses. Then you can figure out if you are overspending in certain categories, like entertainment. Switching to an envelope system can help with these issues. Or, if you don’t want to change your spending habits—or you live in an area with a high cost of living—then perhaps you need to look for a job that pays more. Increasing your salary could help you meet your financial obligations each month. Updated by Rachel Morgan Cautero.