First of all, you have to understand the every Christian will experience spiritual dryness at some point. But typically, it’s our response when those seasons hit that will determine how long they last.
You have two choices: you can respond by retreating in your walk with Christ, or you can move forward in your spiritual walk through reading Scripture and prayer. The point is to not let your feelings of distance from God dictate your spiritual condition. Instead, let your spiritual condition shape your feelings as you grow closer with Christ!