I feel like I’m a bad person

So last year I lost my way with God and I started hanging out with the wrong crowd. With that being said I started using tinder and I would meet a lot of guys to basically hook up with protection and sometimes without protection. I have not had sex since last year bc I got a boyfriend but we broke up recently but anyways can God forgive me even though I know I wasn’t suppose to do what I did and I wish everyday I could go back and change it. I just feel like a nasty and bad person and I hate myself every time I think about it.